summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/temporary-lifetime-exceptions.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2016-09-15 06:31:30 +0000
committerWei Mi <wmi@google.com>2016-09-15 06:31:30 +0000
commit6582669aa9dd757c17110fd993b8acd8b320f0f0 (patch)
treeff3409447d9f5d6caa0e4923a4b99c030fd6454c /clang/test/CodeGen/temporary-lifetime-exceptions.cpp
parentf160e345be41a6ec55a0569a330253b72463d73f (diff)
downloadbcm5719-llvm-6582669aa9dd757c17110fd993b8acd8b320f0f0.tar.gz
bcm5719-llvm-6582669aa9dd757c17110fd993b8acd8b320f0f0.zip
Update clang unittests for rL281586.
The change in rL281586 is in llvm component and tests updated here are in clang component, so I have to commit them consecutively. llvm-svn: 281587
Diffstat (limited to 'clang/test/CodeGen/temporary-lifetime-exceptions.cpp')
-rw-r--r--clang/test/CodeGen/temporary-lifetime-exceptions.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/CodeGen/temporary-lifetime-exceptions.cpp b/clang/test/CodeGen/temporary-lifetime-exceptions.cpp
index 17e21683f22..f435560c975 100644
--- a/clang/test/CodeGen/temporary-lifetime-exceptions.cpp
+++ b/clang/test/CodeGen/temporary-lifetime-exceptions.cpp
@@ -9,16 +9,16 @@ A Baz(const A&);
void Test1() {
// CHECK-LABEL: @_Z5Test1v(
// CHECK: getelementptr
- // CHECK-NEXT: call void @llvm.lifetime.start(i64 1, i8* [[TMP:[^ ]+]])
+ // CHECK-NEXT: call void @llvm.lifetime.start(i64 1, i8* nonnull [[TMP:[^ ]+]])
// CHECK-NEXT: getelementptr
- // CHECK-NEXT: call void @llvm.lifetime.start(i64 1, i8* [[TMP1:[^ ]+]])
+ // CHECK-NEXT: call void @llvm.lifetime.start(i64 1, i8* nonnull [[TMP1:[^ ]+]])
// Normal exit
- // CHECK: call void @llvm.lifetime.end(i64 1, i8* [[TMP1]])
- // CHECK-NEXT: call void @llvm.lifetime.end(i64 1, i8* [[TMP]])
+ // CHECK: call void @llvm.lifetime.end(i64 1, i8* nonnull [[TMP1]])
+ // CHECK-NEXT: call void @llvm.lifetime.end(i64 1, i8* nonnull [[TMP]])
// Exception exit
- // CHECK: call void @llvm.lifetime.end(i64 1, i8* [[TMP1]])
- // CHECK-NEXT: call void @llvm.lifetime.end(i64 1, i8* [[TMP]])
+ // CHECK: call void @llvm.lifetime.end(i64 1, i8* nonnull [[TMP1]])
+ // CHECK-NEXT: call void @llvm.lifetime.end(i64 1, i8* nonnull [[TMP]])
Baz(Baz(A()));
}
OpenPOWER on IntegriCloud