regmove.c (regmove_optimize): Don't try to make src and dst match when they are in different modes.

* regmove.c (regmove_optimize): Don't try to make src and dst match
	when they are in different modes.

From-SVN: r68682
This commit is contained in:
Jan Hubicka 2003-06-30 00:51:45 +02:00 committed by Jan Hubicka
parent 64e9744358
commit 41b3243ed3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Jun 30 00:50:43 CEST 2003 Jan Hubicka <jh@suse.cz>
* regmove.c (regmove_optimize): Don't try to make src and dst match
when they are in different modes.
Sun Jun 29 23:06:32 CEST 2003 Jan Hubicka <jh@suse.cz>
* builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid

View File

@ -1289,7 +1289,8 @@ regmove_optimize (f, nregs, regmove_dump_file)
if (GET_CODE (dst) != REG
|| REGNO (dst) < FIRST_PSEUDO_REGISTER
|| REG_LIVE_LENGTH (REGNO (dst)) < 0
|| RTX_UNCHANGING_P (dst))
|| RTX_UNCHANGING_P (dst)
|| GET_MODE (src) != GET_MODE (dst))
continue;
/* If the operands already match, then there is nothing to do. */