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

David Sherwood via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 01:52:40 PDT 2025


================
@@ -37,8 +37,8 @@ void test3(int *List, int Length) {
     List[i] = i * 2;
 }
 
-// Check that disabling vectorization means a vectorization width of 1, and
-// also that vectorization_predicate isn't enabled.
+// Check that vectorize is disabled, and also that vectorization_predicate is
----------------
david-arm wrote:

nit: The loop doesn't have a vectorize_predicate pragma so I think this should just be `// Check that vectorization is disabled`

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


More information about the cfe-commits mailing list