[OpenMP][FIX] Make metadata and attribute check lines less detailed
authorJohannes Doerfert <johannes@jdoerfert.de>
Thu, 17 Mar 2022 19:58:22 +0000 (14:58 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 17 Mar 2022 19:58:22 +0000 (14:58 -0500)
The update_cc script should really do this automatically :(

clang/test/OpenMP/amdgcn_target_global_constructor.cpp

index 12d538e..544406d 100644 (file)
@@ -87,11 +87,11 @@ S A;
 // CHECK-NEXT:    ret void
 //
 //.
-// CHECK: attributes #0 = { convergent noinline nounwind "frame-pointer"="none" "kernel" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
-// CHECK: attributes #1 = { convergent noinline nounwind optnone "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
-// CHECK: attributes #2 = { convergent "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
-// CHECK: attributes #3 = { convergent }
-// CHECK: attributes #4 = { convergent nounwind }
+// CHECK: attributes #0 = { convergent
+// CHECK: attributes #1 = { convergent
+// CHECK: attributes #2 = { convergent
+// CHECK: attributes #3 = { convergent
+// CHECK: attributes #4 = { convergent
 //.
 // CHECK: !0 = !{i32 0, {{.*}}, !"__omp_offloading_{{.*}}_ctor", i32 19, i32 1}
 // CHECK: !1 = !{i32 0, {{.*}}, !"__omp_offloading_{{.*}}_dtor", i32 19, i32 2}
@@ -101,5 +101,5 @@ S A;
 // CHECK: !5 = !{i32 1, !"wchar_size", i32 4}
 // CHECK: !6 = !{i32 7, !"openmp", i32 50}
 // CHECK: !7 = !{i32 7, !"openmp-device", i32 50}
-// CHECK: !8 = !{!"clang version 15.0.0"}
+// CHECK: !8 = !{!"clang version
 //.