ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x is not a scalar int mode.
* ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x is not a scalar int mode. From-SVN: r61525
This commit is contained in:
parent
dbaff908a0
commit
475c825089
@ -1,3 +1,8 @@
|
||||
2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
|
||||
is not a scalar int mode.
|
||||
|
||||
2003-01-20 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
|
||||
|
@ -647,8 +647,8 @@ noce_emit_store_flag (if_info, x, reversep, normalize)
|
||||
end_sequence ();
|
||||
}
|
||||
|
||||
/* Don't even try if the comparison operands are weird. */
|
||||
if (cond_complex)
|
||||
/* Don't even try if the comparison operands or the mode of X are weird. */
|
||||
if (cond_complex || !SCALAR_INT_MODE_P (GET_MODE (x)))
|
||||
return NULL_RTX;
|
||||
|
||||
return emit_store_flag (x, code, XEXP (cond, 0),
|
||||
|
Loading…
Reference in New Issue
Block a user