[llvm] [LoopVectorizer] Prune VFs based on plan register pressure (PR #132190)
Gaƫtan Bossu via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 15 05:02:43 PDT 2025
================
@@ -4527,6 +4507,11 @@ static bool willGenerateVectors(VPlan &Plan, ElementCount VF,
}
#ifndef NDEBUG
+static SmallVector<LoopVectorizationCostModel::RegisterUsage, 8>
+calculateRegisterUsage(VPlan &Plan, ArrayRef<ElementCount> VFs,
+ const TargetTransformInfo &TTI,
+ const SmallPtrSetImpl<const Value *> &ValuesToIgnore);
----------------
gbossu wrote:
Checking: This function was already defined, but it was used in another context. If so, which one?
https://github.com/llvm/llvm-project/pull/132190
More information about the llvm-commits
mailing list