From: Jim Wilson Date: Thu, 31 Dec 1992 22:32:16 +0000 (-0800) Subject: (emit_reload_insns): Use gen_lowpart_common to change mode of reloadreg. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6983ae362bd4118e1ddc74392fa2f54d56e6527;p=gcc.git (emit_reload_insns): Use gen_lowpart_common to change mode of reloadreg. From-SVN: r3031 --- diff --git a/gcc/reload1.c b/gcc/reload1.c index 3af03a22bf5..e40fd50823e 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -4861,7 +4861,7 @@ emit_reload_insns (insn) then load RELOADREG from OLDEQUIV. */ if (GET_MODE (reloadreg) != mode) - reloadreg = gen_rtx (REG, mode, REGNO (reloadreg)); + reloadreg = gen_lowpart_common (mode, reloadreg); while (GET_CODE (oldequiv) == SUBREG && GET_MODE (oldequiv) != mode) oldequiv = SUBREG_REG (oldequiv); if (GET_MODE (oldequiv) != VOIDmode @@ -5366,7 +5366,7 @@ emit_reload_insns (insn) } if (GET_MODE (reloadreg) != mode) - reloadreg = gen_rtx (REG, mode, REGNO (reloadreg)); + reloadreg = gen_lowpart_common (mode, reloadreg); #ifdef SECONDARY_OUTPUT_RELOAD_CLASS