Skip to content

Commit b68565b

Browse files
[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
1 parent 60250c1 commit b68565b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
subroutine func
1010
end subroutine func
1111

12-
! CHECK-DEF-NOT: attributes #0 = { "prefer-vector-width"={{.*}} }
13-
! CHECK-NONE: attributes #0 = { "prefer-vector-width"="none" }
14-
! CHECK-128: attributes #0 = { "prefer-vector-width"="128" }
15-
! CHECK-256: attributes #0 = { "prefer-vector-width"="256" }
12+
! CHECK-DEF-NOT: attributes #0 = { "prefer-vector-width"={{.*}}
13+
! CHECK-NONE: attributes #0 = { "prefer-vector-width"="none"
14+
! CHECK-128: attributes #0 = { "prefer-vector-width"="128"
15+
! CHECK-256: attributes #0 = { "prefer-vector-width"="256"
1616
! CHECK-INVALID:error: invalid value 'xxx' in '-mprefer-vector-width=xxx'

0 commit comments

Comments
 (0)