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

Ryotaro Kasuga via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 23 04:53:55 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)``.
+Specifying a *non-scalable* width/count of 1 disables the optimization, and is
----------------
kasuga-fj wrote:

In my understanding, explicitly specifying scalable/non-scalable(fixed) forces vectorizer to use it. Without this pragma allows vectorizer can use either scalable/non-scalable. Does this answer your question?

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


More information about the cfe-commits mailing list