https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86994
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >The canonicalization, introduced in r263591 does not universally benefit all >targets. As mentioned in the thread, there is no canonicalization but there a checking of the cost. If x86 cost model is incorrect, you would get the incorrect thing here.