Commit 926d1ca5 by Richard Kenner

(fixup_var_refs_1): Make pseudo for DEST in PROMOTED_MODE unless in a

SUBREG.

From-SVN: r10608
parent f353588a
......@@ -2059,13 +2059,14 @@ fixup_var_refs_1 (var, promoted_mode, loc, insn, replacements)
fixeddest = XEXP (fixeddest, 0);
/* Convert (SUBREG (MEM)) to a MEM in a changed mode. */
if (GET_CODE (fixeddest) == SUBREG)
{
fixeddest = fixup_memory_subreg (fixeddest, insn, 0);
promoted_mode = GET_MODE (fixeddest);
}
else
fixeddest = fixup_stack_1 (fixeddest, insn);
temp = gen_reg_rtx (GET_MODE (SET_SRC (x)) == VOIDmode
? GET_MODE (fixeddest)
: GET_MODE (SET_SRC (x)));
temp = gen_reg_rtx (promoted_mode);
emit_insn_after (gen_move_insn (fixeddest,
gen_lowpart (GET_MODE (fixeddest),
......
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