[llvm-branch-commits] [llvm] [LV] -scalable-vectorization=preferred should not override UserVF=1 (PR #226948)

Gaƫtan Bossu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Oct 12 05:17:13 PDT 2026


================
@@ -128,6 +128,10 @@ LoopVectorizeHints::LoopVectorizeHints(const Loop *L,
         ForceScalableHint == SK_FixedWidthOnly)
       return ForceScalableHint;
 
+    // Then to -scalable-vectorization=on
----------------
gbossu wrote:

Added a test in the parent PR. With the latest commit here, pragmas always have precedence.

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


More information about the llvm-branch-commits mailing list