brintos

brintos / llvm-project-archived public Read only

0
0
Text · 614 B · ddb0ab1 Raw
23 lines · plain
1; RUN: llc < %s -mtriple=aarch64-windows | FileCheck %s2 3define dso_local void @func() {4entry:5  %buf = alloca [64 x i8], align 326  %arraydecay = getelementptr inbounds [64 x i8], ptr %buf, i64 0, i64 07  call void @other(ptr noundef %arraydecay)8  ret void9}10 11declare dso_local void @other(ptr noundef)12 13; CHECK-LABEL: func:14; CHECK-NEXT: .seh_proc func15; CHECK-NEXT: // %bb.0:16; CHECK-NEXT: stp x29, x30, [sp, #-16]!17; CHECK-NEXT: .seh_save_fplr_x 1618; CHECK-NEXT: mov x29, sp19; CHECK-NEXT: .seh_set_fp20; CHECK-NEXT: .seh_endprologue21; CHECK-NEXT: sub x9, sp, #8022; CHECK-NEXT: and sp, x9, #0xffffffffffffffe023