mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-05 01:34:12 +08:00
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:
parent
64e9744358
commit
41b3243ed3
@ -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
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user