fixup: use CHECK for non-atttribute sets
authorDean Michael Berris <dberris@google.com>
Thu, 30 Mar 2017 22:46:49 +0000 (22:46 +0000)
committerDean Michael Berris <dberris@google.com>
Thu, 30 Mar 2017 22:46:49 +0000 (22:46 +0000)
llvm-svn: 299127

clang/test/CodeGen/xray-instruction-threshold.cpp

index ad8801a..b5f4489 100644 (file)
@@ -8,7 +8,7 @@ int foo() {
   return 2;
 }
 
-// CHECK-DAG: define i32 @_Z3foov() #[[THRESHOLD:[0-9]+]] {
-// CHECK-DAG: define i32 @_Z3barv() #[[NEVERATTR:[0-9]+]] {
+// CHECK: define i32 @_Z3foov() #[[THRESHOLD:[0-9]+]] {
+// CHECK: define i32 @_Z3barv() #[[NEVERATTR:[0-9]+]] {
 // CHECK-DAG: attributes #[[THRESHOLD]] = {{.*}} "xray-instruction-threshold"="1" {{.*}}
 // CHECK-DAG: attributes #[[NEVERATTR]] = {{.*}} "function-instrument"="xray-never" {{.*}}