https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112612
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |tree-optimization Summary|[Missed Optimization] |Holding on the loop |Holding on the loop |variable rather than a |variable rather than a |derived value which can |derived value which can |replace it |replace it | Target| |x86_64-linux-gnu --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- IV-OPTs selects these IVs and is very much target specific due to cost model. It is a N complete problem after all too.