From b68565b8c70fc590f8e59799996f450b1072b532 Mon Sep 17 00:00:00 2001 From: Hubert Tong Date: Sun, 1 Jun 2025 16:55:40 -0400 Subject: [PATCH] [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 --- flang/test/Driver/prefer-vector-width.f90 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flang/test/Driver/prefer-vector-width.f90 b/flang/test/Driver/prefer-vector-width.f90 index d0f5fd28db82..8a66a24b88ba 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'