[polly] [Polly] Skip vectorize.enable for FP loops with dist=1 dependences (PR #205756)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 06:14:28 PDT 2026


================
@@ -14,8 +14,8 @@
 ; CHECK: br {{.*}} !llvm.loop [[POLLY_LOOP:![0-9]+]]
 ; CHECK: [[LOOP]] = distinct !{[[LOOP]], [[META2:![0-9]+]], [[META3:![0-9]+]]}
 ; CHECK: [[META3]] = !{!"llvm.loop.vectorize.enable", i32 0}
-; CHECK: [[POLLY_LOOP]] = distinct !{[[POLLY_LOOP]], [[META2:![0-9]+]], [[META3:![0-9]+]]}
-; CHECK: [[META3]] = !{!"llvm.loop.vectorize.enable", i1 true}
+; CHECK: [[POLLY_LOOP]] = distinct !{[[POLLY_LOOP]], {{.*}}}
+; CHECK-DAG: !{!"llvm.loop.vectorize.enable", i1 true}
----------------
Meinersbur wrote:

This test has not floating points. Why the change?

Consider adding a test that uses floating point that ensures `llvm.loop.vectorize.enable` is not added.

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


More information about the llvm-commits mailing list