https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106164
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #7) > Created attachment 55657 [details] > Patch which just needs some testcases > > This simple patch implements what I Mentioned about extending those other > patterns. Note this does implement all of what combine_comparisons implements but implements most of them. It could easily extend for some more. Like `x_2 >= y_3 && x_2 != y_3` could be added to convert to `x_2 > y_3`. I will do that in a different patch.