s390: Use VOIDmode with gen_rtx_SET

* config/s390/s390.c (s390_expand_insv): Use VOIDmode in gen_rtx_SET.

From-SVN: r190281
This commit is contained in:
Richard Henderson 2012-08-09 19:39:50 -07:00 committed by Richard Henderson
parent 4e1ffb63c7
commit 0d8e4dacd4
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2012-08-09 Richard Henderson <rth@redhat.com>
* config/s390/s390.c (s390_expand_insv): Use VOIDmode in gen_rtx_SET.
* config/s390/s390.c (s390_expand_cs_hqi): Copy val to a temp before
performing the compare for the restart loop.

View File

@ -4684,9 +4684,8 @@ s390_expand_insv (rtx dest, rtx op1, rtx op2, rtx src)
src = gen_lowpart (mode, src);
}
op = gen_rtx_SET (mode,
gen_rtx_ZERO_EXTRACT (mode, dest, op1, op2),
src);
op = gen_rtx_ZERO_EXTRACT (mode, dest, op1, op2),
op = gen_rtx_SET (VOIDmode, op, src);
clobber = gen_rtx_CLOBBER (VOIDmode, gen_rtx_REG (CCmode, CC_REGNUM));
emit_insn (gen_rtx_PARALLEL (VOIDmode, gen_rtvec (2, op, clobber)));