brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 3905829 Raw
29 lines · plain
1# RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass=prologepilog %s -o - | FileCheck %s2---3# This test verifies that the emergency scavenging slot is located near4# the SP when the stack is realigned.5name: LateScavengingSlotRealignment6# CHECK-LABEL: name: LateScavengingSlotRealignment7# CHECK: bb.0:8# CHECK:      STRXui killed $[[SCRATCH:x[0-9]+]], $sp, 09# CHECK-NEXT: $[[SCRATCH]] = ADDXri $sp, 40, 010# CHECK-NEXT: STRXui $x0, killed $[[SCRATCH]], 409511# CHECK-NEXT: $[[SCRATCH]] = LDRXui $sp, 012# CHECK: bb.1:13tracksRegLiveness: true14frameInfo:15  isFrameAddressTaken: true16stack:17  - { id: 0, size:    16, alignment: 16 }18  - { id: 1, size: 32768, alignment: 32 }19body: |20  bb.0:21    liveins: $x0, $x822    $x9 = LDRXui $x0, 0 :: (load (s64))23    STRXui $x0, %stack.0, 024    B %bb.125  bb.1:26    liveins: $x1, $x2, $x3, $x4, $x5, $x6, $x7, $x8, $x9, $x10, $x11, $x12, $x13, $x14, $x15, $x16, $x17, $x18, $x19, $x20, $x21, $x22, $x23, $x24, $x25, $x26, $x27, $x28, $lr27    RET_ReallyLR implicit $x19, implicit $x20, implicit $x21, implicit $x22, implicit $x23, implicit $x24, implicit $x25, implicit $x26, implicit $x27, implicit $x28, implicit $lr28...29