brintos

brintos / llvm-project-archived public Read only

0
0
Text · 613 B · 2f8600f Raw
17 lines · plain
1; RUN: llc -o - %s -verify-machineinstrs | FileCheck %s2; XFAIL: *3; Make sure we use a frame pointer and fp relative addressing for the emergency4; spillslot when we have gigantic callframes.5; CHECK-LABEL: func:6; CHECK: stur {{.*}}, [x29, #{{.*}}] // 8-byte Folded Spill7; CHECK: ldur {{.*}}, [x29, #{{.*}}] // 8-byte Folded Reload8target triple = "aarch64--"9declare void @extfunc(ptr byval([4096 x i64]) %p)10define void @func(ptr %z) {11  %lvar = alloca [31 x i8]12  %v = load volatile [31 x i8], ptr %lvar13  store volatile [31 x i8] %v, ptr %lvar14  call void @extfunc(ptr byval([4096 x i64]) %z)15  ret void16}17