]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299127 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/xray-instruction-threshold.cpp

index ad8801a0c164038da062263ab3c30ca39ac83da6..b5f4489bd97eea320926499551e00873be29bdab 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" {{.*}}