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.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp b/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
index fc0d3f64c6a..e75d57fa1c4 100644
--- a/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
+++ b/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
@@ -5,17 +5,17 @@ int t(void);
// CHECK: define i32 @_Z1fv() {{.*}} {
int f(void) {
- // CHECK: call i32 @_Z1cv() [[NUW_RN:#[0-9]+]]
- // CHECK: call i32 @_Z1pv() [[NUW_RO:#[0-9]+]]
+ // CHECK: call i32 @_Z1cv() [[NUW_RN1:#[0-9]+]]
+ // CHECK: call i32 @_Z1pv() [[NUW_RO1:#[0-9]+]]
return c() + p() + t();
}
-// CHECK: declare i32 @_Z1cv() #1
-// CHECK: declare i32 @_Z1pv() #2
-// CHECK: declare i32 @_Z1tv() #0
+// CHECK: declare i32 @_Z1cv() [[NUW_RN2:#[0-9]+]]
+// CHECK: declare i32 @_Z1pv() [[NUW_RO2:#[0-9]+]]
+// CHECK: declare i32 @_Z1tv() [[NONE:#[0-9]+]]
-// 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 }
-// CHECK: attributes [[NUW_RO]] = { nounwind readonly }
+// CHECK: attributes [[NONE]] = { {{.*}} }
+// CHECK: attributes [[NUW_RN2]] = { nounwind readnone{{.*}} }
+// CHECK: attributes [[NUW_RO2]] = { nounwind readonly{{.*}} }
+// CHECK: attributes [[NUW_RN1]] = { nounwind readnone }
+// CHECK: attributes [[NUW_RO1]] = { nounwind readonly }
OpenPOWER on IntegriCloud