# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 2
# RUN: llc -mtriple=arm-linux-gnueabi -run-pass none -o - %s | FileCheck %s
# This test ensures that the MIR parser parses machine functions correctly.
---
name: callframesize
body: |
; CHECK-LABEL: name: callframesize
; CHECK: bb.0:
; CHECK-NEXT: successors: %bb.1(0x80000000)
; CHECK-NEXT: {{ $}}
; CHECK-NEXT: ADJCALLSTACKDOWN 100, 0, 14 /* CC::al */, $noreg, implicit-def $sp, implicit $sp
; CHECK-NEXT: {{ $}}
; CHECK-NEXT: bb.1 (call-frame-size 100):
; CHECK-NEXT: successors: %bb.2(0x80000000)
; CHECK-NEXT: {{ $}}
; CHECK-NEXT: ADJCALLSTACKUP 100, 0, 14 /* CC::al */, $noreg, implicit-def $sp, implicit $sp
; CHECK-NEXT: {{ $}}
; CHECK-NEXT: bb.2:
bb.0:
ADJCALLSTACKDOWN 100, 0, 14, $noreg, implicit-def $sp, implicit $sp
bb.1 (call-frame-size 100):
ADJCALLSTACKUP 100, 0, 14, $noreg, implicit-def $sp, implicit $sp
bb.2:
...