[llvm] [LV][RISCV] Widen VF to enable dot-product partial reductions (PR #219902)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 09:13:04 PDT 2026
wangpc-pp wrote:
> I'm not saying the direction here is wrong (I'll leave that for the maintainers to decide) but generally speaking dot-product style partial reductions go hand-in-hand with maximising vector bandwidth. For AArch64 we put a lot of effort into making `shouldMaximizeVectorBandwidth` default enabled so that smaller element types are used to guide VF decisions. Is that something worth considering instead?
Thanks! I tried the `shouldMaximizeVectorBandwidth` way: https://github.com/llvm/llvm-project/pull/216005. It is stuck because it increases register pressure too much. That's why I want to try to enable it specially for partial reduction.
https://github.com/llvm/llvm-project/pull/219902
More information about the llvm-commits
mailing list