Issue |
144520
|
Summary |
[RISCV] Enable loop vectorizer register pressure VF pruning again
|
Labels |
backend:RISC-V
|
Assignees |
lukel97
|
Reporter |
lukel97
|
After https://github.com/llvm/llvm-project/pull/132190 we fixed the issue with spilling on https://godbolt.org/z/WcbWGooa4 since we were now pruning VFs that had too high a register pressure, even if `TTI::shouldMaximizeVectorBandwidth` was false.
However this caused some regressions on AArch64 so it was reverted back to only pruning when vector bandwidth was maximized in #141736. This causes the above link to spill again.
We should find a way to enable this pruning again on RISC-V, which may just be a matter of enabling `TTI::shouldMaximizeVectorBandwidth`. We'll need to double check that it doesn't actually cause more spilling in practice.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs