; RUN: opt -mtriple=aarch64--linux-gnu -mattr=+sve < %s -inline -S | FileCheck %s define void @bar(* %a) { entry: %b = alloca , align 16 store zeroinitializer, * %b, align 16 %c = load , * %a, align 16 %d = load , * %b, align 16 %e = add %c, %d %f = add %e, %c store %f, * %a, align 16 ret void } define i64 @foo() { ; CHECK-LABEL: @foo( ; CHECK: %0 = bitcast * %{{.*}} to i8* ; CHECK-NEXT: call void @llvm.lifetime.start.p0i8(i64 -1, i8* %0) ; CHECK: %1 = bitcast * %{{.*}} to i8* ; CHECK-NEXT: call void @llvm.lifetime.end.p0i8(i64 -1, i8* %1) entry: %a = alloca , align 16 store zeroinitializer, * %a, align 16 %a1 = bitcast * %a to i64* store i64 1, i64* %a1, align 8 call void @bar(* %a) %el = load i64, i64* %a1 ret i64 %el }