[clang] [clang][CodeGen] Fix metadata when vectorization is disabled by pragma (PR #135163)

Michael Kruse via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 14 08:17:42 PDT 2025


================
@@ -5237,8 +5237,8 @@ width/count of the set of target architectures supported by your application.
     ...
   }
 
-Specifying a width/count of 1 disables the optimization, and is equivalent to
-``vectorize(disable)`` or ``interleave(disable)``.
----------------
Meinersbur wrote:

I in princeiple I agree, but considereing that `vectorize(disable) vectorize_width(scalable)` is being rejected, where is the ambiguity? Is `vectorize_width(1) vectorize_width(scalable)` the issue? I don't think that it should be interpreted as `vectorize_width(1, scalable)`, it is just conflicting information for the same setting.

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


More information about the cfe-commits mailing list