[polly] [Polly] Retain vectorization for fallback loop when RTC is false (PR #165525)
Karthika Devi C via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 3 06:02:16 PST 2025
================
@@ -0,0 +1,27 @@
+; RUN: opt %loadNPMPolly -S -passes=polly-codegen -polly-annotate-metadata-vectorize < %s | FileCheck %s
+; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
+
+; Verify vectorization is not disabled when RTC of Polly is false
+
+; CHECK-NOT: {{.*}} = !{!"llvm.loop.vectorize.enable", i32 0}
----------------
kartcq wrote:
I understand your concern.
Before this patch, the above metadata is produced. After patch there is no metadata as we intended.
I will add attribute check, to strengthen the test.
Will that be sufficient ?
https://github.com/llvm/llvm-project/pull/165525
More information about the llvm-commits
mailing list