| 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 |
--- |
| 8 |
name: test_arg_stack |
| 9 |
fixedStack: |
| 10 |
- { id: 0, type: default, offset: 0, size: 4, alignment: 4 } |
| 11 |
- { id: 1, type: default, offset: 4, size: 4, alignment: 8 } |
| 12 |
stack: [] |
| 13 |
body: | |
| 14 |
bb.1: |
| 15 |
RET 0, implicit $eax |
| 16 |
... |
| 17 |
|
| 18 |
--- |
| 19 |
name: test_arg_nostack |
| 20 |
body: | |
| 21 |
bb.1: |
| 22 |
RET 0, implicit $eax |
| 23 |
... |