>> PR37451. Not clear what target that regressed on, btw. > > And PR55190 and PR67288 and probably more.
Thanks for finding those. So the hope is to get this fixed or rather move towards a fix with the patch series that's currently reviewed which injects some doloop knowledge into ivopts? As said before, I was thinking of storing niter + 1 somewhere and use this instead of doing the + 1 later when it cannot be simplified anymore. But if we expect a larger rewrite anyway, it's probably not worthwhile to pursue that now. Regards Robin