60 lines · plain
1# RUN: llc -mtriple=aarch64--- --verify-machineinstrs -simplify-mir -run-pass none %s -o - | FileCheck %s2 3# This test checks for persistence of the hasRedZone attribute through a4# llc transformation that shouldn't do anything5 6# CHECK-NAME: name: foo7# CHECK-LABEL: machineFunctionInfo: {}8 9---10name: foo11alignment: 412tracksRegLiveness: true13frameInfo:14 maxAlignment: 115 maxCallFrameSize: 016machineFunctionInfo: {}17body: |18 bb.0.entry:19 RET_ReallyLR20 21...22 23# CHECK-LABEL: name: bar24# CHECK: machineFunctionInfo:25# CHECK-NEXT: hasRedZone: false26 27---28name: bar29alignment: 430tracksRegLiveness: true31frameInfo:32 maxAlignment: 133 maxCallFrameSize: 034machineFunctionInfo:35 hasRedZone: false36body: |37 bb.0:38 RET_ReallyLR39 40...41 42# CHECK-LABEL: name: baz43# CHECK: machineFunctionInfo:44# CHECK-NEXT: hasRedZone: true45 46---47name: baz48alignment: 449tracksRegLiveness: true50frameInfo:51 maxAlignment: 152 maxCallFrameSize: 053machineFunctionInfo:54 hasRedZone: true55body: |56 bb.0.entry:57 RET_ReallyLR58 59...60