1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
2 ; RUN: llc < %s -mtriple=riscv32 | FileCheck %s
7 ; CHECK-NEXT: addi sp, sp, -2032
8 ; CHECK-NEXT: .cfi_def_cfa_offset 2032
9 ; CHECK-NEXT: sw ra, 2028(sp) # 4-byte Folded Spill
10 ; CHECK-NEXT: .cfi_offset ra, -4
11 ; CHECK-NEXT: li a0, -2048
12 ; CHECK-NEXT: sub sp, sp, a0
13 ; CHECK-NEXT: .cfi_def_cfa_offset 4294967280
14 ; CHECK-NEXT: addi a0, sp, 4
15 ; CHECK-NEXT: call use
16 ; CHECK-NEXT: li a0, -2048
17 ; CHECK-NEXT: add sp, sp, a0
18 ; CHECK-NEXT: lw ra, 2028(sp) # 4-byte Folded Reload
19 ; CHECK-NEXT: addi sp, sp, 2032
21 %1 = alloca [1073741818 x i32], align 4
22 call void @use(ptr %1)
26 declare void @use(ptr)