[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:23:28 PDT 2026


gbossu wrote:

I've simplified the precedence again. Now pragmas always take precedence over `-scalable-vectorization`. Basically, we are back at what was decided here: https://github.com/llvm/llvm-project/pull/226948#discussion_r4130894619.

The only "damage" is for the `pragma-fixed-width-with-scalable-always.ll` test case: one cannot use `-scalable-vectorization=always` anymore to maximise scalable vectorisation testing by overriding fixed VF pragmas.

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


More information about the llvm-branch-commits mailing list