[llvm] [LoopVectorizer] Prune VFs based on plan register pressure (PR #132190)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 02:23:44 PDT 2025


================
@@ -4527,6 +4507,11 @@ static bool willGenerateVectors(VPlan &Plan, ElementCount VF,
 }
 
 #ifndef NDEBUG
----------------
SamTebbs33 wrote:

This code is just here to check if the legacy and new cost models disagree on which VF is best, and that's not useful in release mode.

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


More information about the llvm-commits mailing list