89.31% regression in seidel-2d benchmark for rva22u64_v
There's an 89.31% regression on the SingleSource/Benchmarks/Polybench/stencils/seidel-2d/seidel-2d benchmark: http://lnt.llvm.org/db_default/v4/nts/profile/1416/29/25
An initial look at the profile looks like we're now vectorizing a sum sequence, which causes a bunch of additional scalar stores for each element to be emitted that weren't originally present. I think this is SLP because the IV increment hasn't changed (it was 8 in the scalar loop, still 8 in the new version).
@llvm/issue-subscribers-backend-risc-v
Author: Luke Lau (lukel97)
An initial look at the profile looks like we're now vectorizing a sum sequence, which causes a bunch of additional scalar stores for each element to be emitted that weren't originally present. I think this is SLP because the IV increment hasn't changed (it was 8 in the scalar loop, still 8 in the new version).
Looks to be in FP reductions. Has been recent work there in SLP, I'll generate a reduced test.
Looks to be duplicate of #199267
Thanks for the fix @KavinTheG, can confirm the regression is resolved: http://lnt.llvm.org/db_default/v4/nts/graph?highlight_run=49&plot.0=2.1416.3