ree.c (combine_set_extension): Temporarily disable test for changing number of hard registers.

* ree.c (combine_set_extension): Temporarily disable test for
        changing number of hard registers.

From-SVN: r206735
This commit is contained in:
Jeff Law 2014-01-17 15:20:24 -07:00 committed by Jeff Law
parent f3e11e0584
commit 2043135ab2
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-17 Jeff Law <law@redhat.com>
* ree.c (combine_set_extension): Temporarily disable test for
changing number of hard registers.
2014-01-17 Jan Hubicka <jh@suse.cz>
PR middle-end/58125

View File

@ -297,11 +297,15 @@ combine_set_extension (ext_cand *cand, rtx curr_insn, rtx *orig_set)
else
new_reg = gen_rtx_REG (cand->mode, REGNO (SET_DEST (*orig_set)));
#if 0
/* Rethinking test. Temporarily disabled. */
/* We're going to be widening the result of DEF_INSN, ensure that doing so
doesn't change the number of hard registers needed for the result. */
if (HARD_REGNO_NREGS (REGNO (new_reg), cand->mode)
!= HARD_REGNO_NREGS (REGNO (orig_src), GET_MODE (SET_DEST (*orig_set))))
!= HARD_REGNO_NREGS (REGNO (SET_DEST (*orig_set)),
GET_MODE (SET_DEST (*orig_set))))
return false;
#endif
/* Merge constants by directly moving the constant into the register under
some conditions. Recall that RTL constants are sign-extended. */