Commit 23e7786b by Jeff Law

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
parent 293100b5
......@@ -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)
......
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