Re: [PATCH V2] Fix inaccuracy in cunroll/cunrolli when considering what's innermost loop.

2024-12-10 Thread Richard Biener
On Mon, 9 Dec 2024, liuhongt wrote: > > Please pass 'sbitmap' instead of auto_sbitmap&, it should properly > > decay to that.  Applies everywhere I think. > > > > Changed. > > > In fact I wonder whether we should simply populate the bitmap > > from a > > > > for (auto loop : loops_list (cfun,

[PATCH V2] Fix inaccuracy in cunroll/cunrolli when considering what's innermost loop.

2024-12-09 Thread liuhongt
> Please pass 'sbitmap' instead of auto_sbitmap&, it should properly > decay to that.  Applies everywhere I think. > Changed. > In fact I wonder whether we should simply populate the bitmap > from a > > for (auto loop : loops_list (cfun, LI_ONLY_INNERMOST)) > bitmap_set_bit (original_innerm