https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115506
--- Comment #3 from Kang-Che Sung ---
I'm not sure if this helps, but the idea is to recognize three-way comparison
as a special case.
My code was originally written in this ordering:
```c
if (x < c) {
do_action_a();
} else if (x == c) {
d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115506
--- Comment #2 from Uroš Bizjak ---
For the original testcase tree optimizers optimize to:
[local count: 114863530]:
_30 = _2 & 240;
if (_30 == 224)
goto ; [34.00%]
else
goto ; [66.00%]
[local count: 75809929]:
if (_30 <=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115506
Richard Biener changed:
What|Removed |Added
Component|middle-end |rtl-optimization
--- Comment #1 from R