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

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 10 07:18:24 PDT 2025


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

Added a TODO in 9c2cc07923bd3398269ba644cf10919ba7c3663c

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


More information about the llvm-commits mailing list