Commit 293e1467 by Richard Kenner

(copy_and_substitute_rtx, case REG): Call gen_lowpart instead of

making an explicit SUBREG.

From-SVN: r3348
parent 3af6dfd8
...@@ -1952,7 +1952,7 @@ copy_rtx_and_substitute (orig, map) ...@@ -1952,7 +1952,7 @@ copy_rtx_and_substitute (orig, map)
reach here, so return the register unchanged. */ reach here, so return the register unchanged. */
return orig; return orig;
else if (mode != GET_MODE (map->inline_target)) else if (mode != GET_MODE (map->inline_target))
return gen_rtx (SUBREG, mode, map->inline_target, 0); return gen_lowpart (mode, map->inline_target);
else else
return map->inline_target; return map->inline_target;
} }
......
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