summaryrefslogtreecommitdiff
path: root/test/Transforms/GVN/lifetime-simple.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/GVN/lifetime-simple.ll')
-rw-r--r--test/Transforms/GVN/lifetime-simple.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Transforms/GVN/lifetime-simple.ll b/test/Transforms/GVN/lifetime-simple.ll
index d03b62c8158a..8da3e4cbd30f 100644
--- a/test/Transforms/GVN/lifetime-simple.ll
+++ b/test/Transforms/GVN/lifetime-simple.ll
@@ -8,13 +8,13 @@ define i8 @test(i8* %P) nounwind {
; CHECK-NOT: load
; CHECK: lifetime.end
entry:
- call void @llvm.lifetime.start(i64 32, i8* %P)
+ call void @llvm.lifetime.start.p0i8(i64 32, i8* %P)
%0 = load i8, i8* %P
store i8 1, i8* %P
- call void @llvm.lifetime.end(i64 32, i8* %P)
+ call void @llvm.lifetime.end.p0i8(i64 32, i8* %P)
%1 = load i8, i8* %P
ret i8 %1
}
-declare void @llvm.lifetime.start(i64 %S, i8* nocapture %P) readonly
-declare void @llvm.lifetime.end(i64 %S, i8* nocapture %P)
+declare void @llvm.lifetime.start.p0i8(i64 %S, i8* nocapture %P) readonly
+declare void @llvm.lifetime.end.p0i8(i64 %S, i8* nocapture %P)