brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 319e54f Raw
26 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 52# RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass prologepilog -frame-pointer=none -o - %s | FileCheck %s3---4name: test_addsxri_scalable_offset5stack:6  - { id: 0, type: default, size: 4, alignment: 4, stack-id: default }7  - { id: 1, type: default, size: 16, alignment: 16, stack-id: scalable-vector }8body: |9  bb.0:10    ; CHECK-LABEL: name: test_addsxri_scalable_offset11    ; CHECK: liveins: $fp12    ; CHECK-NEXT: {{  $}}13    ; CHECK-NEXT: early-clobber $sp = frame-setup STRXpre killed $fp, $sp, -16 :: (store (s64) into %stack.2)14    ; CHECK-NEXT: $sp = frame-setup ADDVL_XXI $sp, -1, implicit $vg15    ; CHECK-NEXT: frame-setup CFI_INSTRUCTION escape 0x0f, 0x08, 0x8f, 0x10, 0x92, 0x2e, 0x00, 0x38, 0x1e, 0x2216    ; CHECK-NEXT: frame-setup CFI_INSTRUCTION offset $w29, -1617    ; CHECK-NEXT: $x8 = ADDXri $sp, 12, 018    ; CHECK-NEXT: $x8 = ADDVL_XXI $x8, 1, implicit $vg19    ; CHECK-NEXT: $x8 = ADDSXri $x8, 0, 0, implicit-def $nzcv20    ; CHECK-NEXT: $sp = frame-destroy ADDVL_XXI $sp, 1, implicit $vg21    ; CHECK-NEXT: early-clobber $sp, $fp = frame-destroy LDRXpost $sp, 16 :: (load (s64) from %stack.2)22    ; CHECK-NEXT: RET_ReallyLR implicit $x823    $x8 = ADDSXri %stack.0, 0, 0, implicit-def $nzcv24    RET_ReallyLR implicit $x825...26