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

2024-12-06 Thread Richard Biener
On Thu, 5 Dec 2024, liuhongt wrote: > r15-919-gef27b91b62c3aa removed 1 / 3 size reduction for innermost > loop, but it doesn't accurately remember what's "innermost" for 2 > testcases in PR117888. > > 1) For pass_cunroll, the "innermost" loop could be an originally outer > loop with inner loop c

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

2024-12-05 Thread liuhongt
r15-919-gef27b91b62c3aa removed 1 / 3 size reduction for innermost loop, but it doesn't accurately remember what's "innermost" for 2 testcases in PR117888. 1) For pass_cunroll, the "innermost" loop could be an originally outer loop with inner loop completely unrolled by cunrolli. The patch moves l