1 # RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass=prologepilog -mattr=+sve %s -o - | FileCheck %s
3 # This test verifies that the basepointer is available in presence of SVE stack objects.
5 # CHECK-LABEL: name: hasBasepointer
7 # CHECK: $sp = frame-setup ADDVL_XXI $sp, -1
8 # CHECK-NEXT: $sp = frame-setup SUBXri $sp, 16, 0
9 # CHECK-NEXT: $x19 = ADDXri $sp, 0, 0
10 # CHECK: STRXui $x0, $x19, 0
11 tracksRegLiveness: true
13 isFrameAddressTaken: true
15 - { id: 0, type: variable-sized, alignment: 1 }
16 - { id: 1, name: '', size: 16, alignment: 8 }
17 - { id: 2, stack-id: scalable-vector, size: 16, alignment: 16 }
21 STRXui $x0, %stack.1, 0