mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-06 08:17:14 +08:00
cse.c (simplify_ternary_operation): Don't try to simplify IF_THEN_ELSE expressions (created by combine) that don't...
* cse.c (simplify_ternary_operation): Don't try to simplify IF_THEN_ELSE expressions (created by combine) that don't use relational operators. From-SVN: r17472
This commit is contained in:
parent
f69eecfbd5
commit
e82ad93d64
@ -1,3 +1,9 @@
|
||||
Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
|
||||
|
||||
* cse.c (simplify_ternary_operation): Don't try to simplify
|
||||
IF_THEN_ELSE expressions (created by combine) that don't use
|
||||
relational operators.
|
||||
|
||||
Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
|
||||
|
@ -4713,7 +4713,7 @@ simplify_ternary_operation (code, mode, op0_mode, op0, op1, op2)
|
||||
&& rtx_equal_p (XEXP (op0, 1), op1)
|
||||
&& rtx_equal_p (XEXP (op0, 0), op2))
|
||||
return op2;
|
||||
else if (! side_effects_p (op0))
|
||||
else if (GET_RTX_CLASS (GET_CODE (op0)) == '<' && ! side_effects_p (op0))
|
||||
{
|
||||
rtx temp;
|
||||
temp = simplify_relational_operation (GET_CODE (op0), op0_mode,
|
||||
|
Loading…
Reference in New Issue
Block a user