diff options
Diffstat (limited to 'test/Transforms/Mem2Reg/ignore-lifetime.ll')
-rw-r--r-- | test/Transforms/Mem2Reg/ignore-lifetime.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/Mem2Reg/ignore-lifetime.ll b/test/Transforms/Mem2Reg/ignore-lifetime.ll index 5e4f9bf..12adaff 100644 --- a/test/Transforms/Mem2Reg/ignore-lifetime.ll +++ b/test/Transforms/Mem2Reg/ignore-lifetime.ll @@ -18,7 +18,7 @@ define void @test2() { ; CHECK: test2 ; CHECK-NOT: alloca %A = alloca {i8, i16} - %B = getelementptr {i8, i16}* %A, i32 0, i32 0 + %B = getelementptr {i8, i16}, {i8, i16}* %A, i32 0, i32 0 call void @llvm.lifetime.start(i64 2, i8* %B) store {i8, i16} zeroinitializer, {i8, i16}* %A call void @llvm.lifetime.end(i64 2, i8* %B) |