[llvm] [VPlan] Always consider register pressure on RISC-V (PR #156951)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 10 07:07:44 PDT 2025


================
@@ -3702,6 +3702,9 @@ LoopVectorizationCostModel::computeMaxVF(ElementCount UserVF, unsigned UserIC) {
 
 bool LoopVectorizationCostModel::shouldConsiderRegPressureForVF(
     ElementCount VF) {
+  if (TTI.shouldConsiderVectorizationRegPressure())
----------------
fhahn wrote:

Can you add a TODO to say that enabling per-target level is only done while issues on other targets are being fixed?

https://github.com/llvm/llvm-project/pull/156951


More information about the llvm-commits mailing list