[flang-commits] [flang] [flang] Fix ppc64le-flang-rhel-test buildbot failure (PR #142269)

Cameron McInally via flang-commits flang-commits at lists.llvm.org
Sun Jun 1 05:40:52 PDT 2025


================
@@ -9,8 +9,8 @@
 subroutine func
 end subroutine func
 
-! CHECK-DEF-NOT: attributes #0 = { "prefer-vector-width"={{.*}} }
-! CHECK-NONE: attributes #0 = { "prefer-vector-width"="none" }
-! CHECK-128: attributes #0 = { "prefer-vector-width"="128" }
-! CHECK-256: attributes #0 = { "prefer-vector-width"="256" }
+! CHECK-DEF-NOT: attributes #0 = { {{.*}}"prefer-vector-width"={{.*}} }
+! CHECK-NONE: attributes #0 = { {{.*}}"prefer-vector-width"="none"{{.*}} }
----------------
mcinally wrote:

Shared a patch with a slight tweak to your solution, but the same general idea. It uses CHECK instead of ALL, since the negative tests won't fit in the ALL pattern.

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


More information about the flang-commits mailing list