[flang-commits] [flang] b68565b - [NFC][tests] Relax matching for prefer-vector-width.f90

via flang-commits flang-commits at lists.llvm.org
Sun Jun 1 13:55:43 PDT 2025


Author: Hubert Tong
Date: 2025-06-01T16:55:40-04:00
New Revision: b68565b8c70fc590f8e59799996f450b1072b532

URL: https://github.com/llvm/llvm-project/commit/b68565b8c70fc590f8e59799996f450b1072b532
DIFF: https://github.com/llvm/llvm-project/commit/b68565b8c70fc590f8e59799996f450b1072b532.diff

LOG: [NFC][tests] Relax matching for prefer-vector-width.f90

The attributes matching was too strict and caused failures:
https://lab.llvm.org/buildbot/#/builders/157/builds/29494/steps/6/logs/FAIL__Flang__prefer-vector-width_f90

Added: 
    

Modified: 
    flang/test/Driver/prefer-vector-width.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Driver/prefer-vector-width.f90 b/flang/test/Driver/prefer-vector-width.f90
index d0f5fd28db826..8a66a24b88bab 100644
--- a/flang/test/Driver/prefer-vector-width.f90
+++ b/flang/test/Driver/prefer-vector-width.f90
@@ -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"
+! CHECK-128: attributes #0 = { "prefer-vector-width"="128"
+! CHECK-256: attributes #0 = { "prefer-vector-width"="256"
 ! CHECK-INVALID:error: invalid value 'xxx' in '-mprefer-vector-width=xxx'


        


More information about the flang-commits mailing list