aboutsummaryrefslogtreecommitdiffstats
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.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/GVN/lifetime-simple.ll b/test/Transforms/GVN/lifetime-simple.ll
index 02f7bcc..d03b62c 100644
--- a/test/Transforms/GVN/lifetime-simple.ll
+++ b/test/Transforms/GVN/lifetime-simple.ll
@@ -9,10 +9,10 @@ define i8 @test(i8* %P) nounwind {
; CHECK: lifetime.end
entry:
call void @llvm.lifetime.start(i64 32, i8* %P)
- %0 = load i8* %P
+ %0 = load i8, i8* %P
store i8 1, i8* %P
call void @llvm.lifetime.end(i64 32, i8* %P)
- %1 = load i8* %P
+ %1 = load i8, i8* %P
ret i8 %1
}