• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -o - %s -verify-machineinstrs | FileCheck %s
2; XFAIL: *
3; Make sure we use a frame pointer and fp relative addressing for the emergency
4; spillslot when we have gigantic callframes.
5; CHECK-LABEL: func:
6; CHECK: stur {{.*}}, [x29, #{{.*}}] // 8-byte Folded Spill
7; CHECK: ldur {{.*}}, [x29, #{{.*}}] // 8-byte Folded Reload
8target triple = "aarch64--"
9declare void @extfunc([4096 x i64]* byval %p)
10define void @func([4096 x i64]* %z) {
11  %lvar = alloca [31 x i8]
12  %v = load volatile [31 x i8], [31 x i8]* %lvar
13  store volatile [31 x i8] %v, [31 x i8]* %lvar
14  call void @extfunc([4096 x i64]* byval %z)
15  ret void
16}
17