Author: Johannes Doerfert
Date: 2022-03-17T14:58:22-05:00
New Revision: b4cc3b1dd8d7200640210513263b28187f810703

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

LOG: [OpenMP][FIX] Make metadata and attribute check lines less detailed

The update_cc script should really do this automatically :(

Added: 
    

Modified: 
    clang/test/OpenMP/amdgcn_target_global_constructor.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/OpenMP/amdgcn_target_global_constructor.cpp 
b/clang/test/OpenMP/amdgcn_target_global_constructor.cpp
index 12d538e00ff76..544406dc7f43f 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
 //.


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to