1 ; RUN: opt -inline -S < %s | FileCheck %s 2 3 declare void @use(i8* %a) 4 5 define void @helper() { 6 %a = alloca i8 7 call void @use(i8* %a) 8 ret void 9 } 10 11 ; Size in llvm.lifetime.X should be -1 (unknown). 12 define void @test() { 13 ; CHECK-LABEL: @test( 14 ; CHECK-NOT: lifetime 15 ; CHECK: llvm.lifetime.start(i64 -1 16 ; CHECK-NOT: lifetime 17 ; CHECK: llvm.lifetime.end(i64 -1 18 call void @helper() 19 ; CHECK-NOT: lifetime 20 ; CHECK: ret void 21 ret void 22 } 23 24