mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-09 06:34:28 +08:00
reload1.c (reload_cse_record_set): Ignore values for SREG if their mode is narrower than DEST_MODE.
* reload1.c (reload_cse_record_set): Ignore values for SREG if their mode is narrower than DEST_MODE. From-SVN: r14111
This commit is contained in:
parent
293100b546
commit
23e7786b28
@ -8305,6 +8305,9 @@ reload_cse_record_set (set, body)
|
||||
continue;
|
||||
if (dest_mode == GET_MODE (XEXP (x, 0)))
|
||||
tmp = XEXP (x, 0);
|
||||
else if (GET_MODE_BITSIZE (dest_mode)
|
||||
> GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0))))
|
||||
continue;
|
||||
else
|
||||
tmp = gen_lowpart_common (dest_mode, XEXP (x, 0));
|
||||
if (tmp)
|
||||
|
Loading…
Reference in New Issue
Block a user