[llvm-branch-commits] [llvm] [LV] -scalable-vectorization=preferred should not override UserVF=1 (PR #226948)
Sander de Smalen via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Oct 12 02:04:09 PDT 2026
================
@@ -128,6 +128,10 @@ LoopVectorizeHints::LoopVectorizeHints(const Loop *L,
ForceScalableHint == SK_FixedWidthOnly)
return ForceScalableHint;
+ // Then to -scalable-vectorization=on
----------------
sdesmalen-arm wrote:
IMO, a loop with `#pragma clang loop vectorize(disable)` also shouldn't be vectorized with a scalable VF when using `-scalable-vectorization=always`.
https://github.com/llvm/llvm-project/pull/226948
More information about the llvm-branch-commits
mailing list