summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp')
-rw-r--r--clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp b/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
index 35fed7bf0d4..06608d7fb12 100644
--- a/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
+++ b/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
@@ -5,15 +5,15 @@ int t(void);
// CHECK: define i32 @_Z1fv() {{.*}} {
int f(void) {
- // CHECK: call i32 @_Z1cv() nounwind readnone
- // CHECK: call i32 @_Z1pv() nounwind readonly
+ // CHECK: call i32 @_Z1cv() [[NUW_RN:#[0-9]+]]
+ // CHECK: call i32 @_Z1pv() [[NUW_RO:#[0-9]+]]
return c() + p() + t();
}
-// CHECK: declare i32 @_Z1cv() #1
-// CHECK: declare i32 @_Z1pv() #2
+// CHECK: declare i32 @_Z1cv() [[NUW_RN]]
+// CHECK: declare i32 @_Z1pv() [[NUW_RO]]
// CHECK: declare i32 @_Z1tv() #0
// CHECK: attributes #0 = { "target-features"={{.*}} }
-// CHECK: attributes #1 = { nounwind readnone "target-features"={{.*}} }
-// CHECK: attributes #2 = { nounwind readonly "target-features"={{.*}} }
+// CHECK: attributes [[NUW_RN]] = { nounwind readnone "target-features"={{.*}} }
+// CHECK: attributes [[NUW_RO]] = { nounwind readonly "target-features"={{.*}} }
OpenPOWER on IntegriCloud