* regmove.c (regmove_optimize): Don't replace a reg with
another reg of a different mode.
From-SVN: r44399
+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
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))