1# RUN: llc -mtriple=aarch64--- --verify-machineinstrs -simplify-mir -run-pass none %s -o - | FileCheck %s 2 3# This test checks for persistence of the hasRedZone attribute through a 4# llc transformation that shouldn't do anything 5 6# CHECK-NAME: name: foo 7# CHECK-LABEL: machineFunctionInfo: {} 8 9--- 10name: foo 11alignment: 4 12tracksRegLiveness: true 13frameInfo: 14 maxAlignment: 1 15 maxCallFrameSize: 0 16machineFunctionInfo: {} 17body: | 18 bb.0.entry: 19 RET_ReallyLR 20 21... 22 23# CHECK-LABEL: name: bar 24# CHECK: machineFunctionInfo: 25# CHECK-NEXT: hasRedZone: false 26 27--- 28name: bar 29alignment: 4 30tracksRegLiveness: true 31frameInfo: 32 maxAlignment: 1 33 maxCallFrameSize: 0 34machineFunctionInfo: 35 hasRedZone: false 36body: | 37 bb.0: 38 RET_ReallyLR 39 40... 41 42# CHECK-LABEL: name: baz 43# CHECK: machineFunctionInfo: 44# CHECK-NEXT: hasRedZone: true 45 46--- 47name: baz 48alignment: 4 49tracksRegLiveness: true 50frameInfo: 51 maxAlignment: 1 52 maxCallFrameSize: 0 53machineFunctionInfo: 54 hasRedZone: true 55body: | 56 bb.0.entry: 57 RET_ReallyLR 58 59... 60