Commit 9b2e59ad by Richard Kenner

(can_reverse_comparison_p): Return 1 if -ffast-math.

From-SVN: r6336
parent fab446b8
...@@ -2574,6 +2574,7 @@ can_reverse_comparison_p (comparison, insn) ...@@ -2574,6 +2574,7 @@ can_reverse_comparison_p (comparison, insn)
comparison and vice versa, even for floating point. If no operands comparison and vice versa, even for floating point. If no operands
are NaNs, the reversal is valid. If some operand is a NaN, EQ is are NaNs, the reversal is valid. If some operand is a NaN, EQ is
always false and NE is always true, so the reversal is also valid. */ always false and NE is always true, so the reversal is also valid. */
|| flag_fast_math
|| GET_CODE (comparison) == NE || GET_CODE (comparison) == NE
|| GET_CODE (comparison) == EQ) || GET_CODE (comparison) == EQ)
return 1; return 1;
......
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