1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=arm64-apple-ios %s -o - | FileCheck %s
7 ; CHECK-NEXT: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
8 ; CHECK-NEXT: stp x29, x30, [sp, #16] ; 16-byte Folded Spill
9 ; CHECK-NEXT: sub sp, sp, #1, lsl #12 ; =4096
10 ; CHECK-NEXT: sub sp, sp, #80
11 ; CHECK-NEXT: .cfi_def_cfa_offset 4208
12 ; CHECK-NEXT: .cfi_offset w30, -8
13 ; CHECK-NEXT: .cfi_offset w29, -16
14 ; CHECK-NEXT: .cfi_offset w27, -24
15 ; CHECK-NEXT: .cfi_offset w28, -32
16 ; CHECK-NEXT: adds x8, sp, #1, lsl #12 ; =4096
17 ; CHECK-NEXT: cmn x8, #32
18 ; CHECK-NEXT: b.eq LBB0_2
19 ; CHECK-NEXT: ; %bb.1: ; %false
21 ; CHECK-NEXT: b LBB0_3
22 ; CHECK-NEXT: LBB0_2: ; %true
24 ; CHECK-NEXT: LBB0_3: ; %common.ret
25 ; CHECK-NEXT: add sp, sp, #1, lsl #12 ; =4096
26 ; CHECK-NEXT: add sp, sp, #80
27 ; CHECK-NEXT: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
28 ; CHECK-NEXT: ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
31 %var = alloca i32, i32 12
32 %var2 = alloca i32, i32 1030
33 %tst = icmp eq ptr %var, null
34 br i1 %tst, label %true, label %false