xref: /llvm-project/llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs/print-stack-first.mir (revision 6c629cc17f88c8712979ab843cfaca6d2e123091)
1# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=none -o - %s | FileCheck %s
2
3# Note that this file isn't a test in itself (Inputs/ is excluded from lit's
4# test discovery). Instead, it is an input to the print-stack.test test that
5# verifies the --print-fixed-stack option of update_mir_test_checks.py.
6
7---
8name:            test_arg_stack
9fixedStack:
10  - { id: 0, type: default, offset: 0, size: 4, alignment: 4 }
11  - { id: 1, type: default, offset: 4, size: 4, alignment: 8 }
12stack:           []
13body:             |
14  bb.1:
15    RET 0, implicit $eax
16...
17
18---
19name:            test_arg_nostack
20body:             |
21  bb.1:
22    RET 0, implicit $eax
23...
24