From b4cc3b1dd8d7200640210513263b28187f810703 Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Thu, 17 Mar 2022 14:58:22 -0500 Subject: [PATCH] [OpenMP][FIX] Make metadata and attribute check lines less detailed The update_cc script should really do this automatically :( --- clang/test/OpenMP/amdgcn_target_global_constructor.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clang/test/OpenMP/amdgcn_target_global_constructor.cpp b/clang/test/OpenMP/amdgcn_target_global_constructor.cpp index 12d538e..544406d 100644 --- a/clang/test/OpenMP/amdgcn_target_global_constructor.cpp +++ b/clang/test/OpenMP/amdgcn_target_global_constructor.cpp @@ -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 //. -- 2.7.4