Commit f3029065 by Kazu Hirata Committed by Kazu Hirata

regmove.c (regmove_optimize): Don't replace a reg with another reg of a different mode.

	* regmove.c (regmove_optimize): Don't replace a reg with
	another reg of a different mode.

From-SVN: r44399
parent 4a121cc3
2001-07-26 Kazu Hirata <kazu@hxi.com>
* regmove.c (regmove_optimize): Don't replace a reg with
another reg of a different mode.
2001-07-26 Andrew MacLeod <amacleod@redhat.com>
* params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
......
......@@ -1244,6 +1244,9 @@ regmove_optimize (f, nregs, regmove_dump_file)
if (! regclass_compatible_p (src_class, dst_class))
continue;
if (GET_MODE (src) != GET_MODE (dst))
continue;
if (fixup_match_1 (insn, set, src, src_subreg, dst, pass,
op_no, match_no,
regmove_dump_file))
......
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