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