Richard Biener <richard.guent...@gmail.com> writes: > On Tue, Nov 15, 2016 at 1:44 PM, Richard Sandiford > <richard.sandif...@arm.com> wrote: >> We previously stored the number of loop iterations rather >> than the number of latch iterations. > > So ->nb_iterations was unused without SVE? Otherwise can you please > add a testcase?
TBH I can't remember whether we noticed this by inspection or whether it did manifest in the output somehow. If it did, it would have been an extra unnecessary iteration after complete unrolling, but usually a later patch would remove the iteration as dead. Thanks, Richard