[Bug tree-optimization/113380] `(a CMP CST) | (a*a CMP CST1)` is not optimized as decent as with `||`

2024-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113380 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > Interesting - smells like fold-const.cc stuff not in match.pd. It is not, In the `||` case, the ethread (ranger) is able to opimize away the second part to

[Bug tree-optimization/113380] `(a CMP CST) | (a*a CMP CST1)` is not optimized as decent as with `||`

2024-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113380 --- Comment #1 from Richard Biener --- Interesting - smells like fold-const.cc stuff not in match.pd.