diff options
author | Wei Mi <wmi@google.com> | 2016-09-15 06:31:30 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2016-09-15 06:31:30 +0000 |
commit | 6582669aa9dd757c17110fd993b8acd8b320f0f0 (patch) | |
tree | ff3409447d9f5d6caa0e4923a4b99c030fd6454c /clang/test/CodeGenCXX | |
parent | f160e345be41a6ec55a0569a330253b72463d73f (diff) | |
download | bcm5719-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/CodeGenCXX')
-rw-r--r-- | clang/test/CodeGenCXX/nrvo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/nrvo.cpp b/clang/test/CodeGenCXX/nrvo.cpp index 8744d141ddd..d8e5b134653 100644 --- a/clang/test/CodeGenCXX/nrvo.cpp +++ b/clang/test/CodeGenCXX/nrvo.cpp @@ -178,11 +178,11 @@ X test6() { return a; // CHECK: [[A:%.*]] = alloca [[X:%.*]], align 8 // CHECK-NEXT: [[PTR:%.*]] = getelementptr inbounds %class.X, %class.X* [[A]], i32 0, i32 0 - // CHECK-NEXT: call void @llvm.lifetime.start(i64 1, i8* [[PTR]]) + // CHECK-NEXT: call void @llvm.lifetime.start(i64 1, i8* nonnull [[PTR]]) // CHECK-NEXT: call {{.*}} @_ZN1XC1Ev([[X]]* nonnull [[A]]) // CHECK-NEXT: call {{.*}} @_ZN1XC1ERKS_([[X]]* {{%.*}}, [[X]]* nonnull dereferenceable({{[0-9]+}}) [[A]]) // CHECK-NEXT: call {{.*}} @_ZN1XD1Ev([[X]]* nonnull [[A]]) - // CHECK-NEXT: call void @llvm.lifetime.end(i64 1, i8* [[PTR]]) + // CHECK-NEXT: call void @llvm.lifetime.end(i64 1, i8* nonnull [[PTR]]) // CHECK-NEXT: ret void } |