Commit 2043135a by Jeff Law Committed by Jeff Law

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
parent f3e11e05
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
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment