https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119681
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >(Note that the GIMPLE unroller already does this, but it doesn't handle >uncountable loops.) Actually the gimple unroller does NOT duplicate exit blocks at all. Rather it is how out of ssa works when it deals with phi nodes here and splits the live range which allows the rtl to work better.