[llvm] [LV] Update forced epilogue VF options to allow different VFs than main. (PR #190393)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 04:51:22 PDT 2026


================
@@ -6793,6 +6800,14 @@ void LoopVectorizationPlanner::plan(ElementCount UserVF, unsigned UserIC) {
       CM.collectInLoopReductions();
       if (CM.selectUserVectorizationFactor(UserVF)) {
         LLVM_DEBUG(dbgs() << "LV: Using user VF " << UserVF << ".\n");
+        ElementCount EpilogueVF =
----------------
artagnon wrote:

```suggestion
        ElementCount EpilogueUserVF =
```

Clearer that we're working with a user-supplied forced VF?

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


More information about the llvm-commits mailing list