1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --print-fixed-stack
2 # RUN: llc -mtriple=x86_64-linux-gnu -run-pass=none -o - %s | FileCheck %s
4 # Note that this file isn't a test in itself (Inputs/ is excluded from lit's
5 # test discovery). Instead, it is an input to the print-stack.test test that
6 # verifies the --print-fixed-stack option of update_mir_test_checks.py.
11 - { id: 0, type: default, offset: 0, size: 4, alignment: 4 }
12 - { id: 1, type: default, offset: 4, size: 4, alignment: 8 }
16 ; CHECK-LABEL: name: test_arg_stack
18 ; CHECK-NEXT: - { id: 0, type: default, offset: 4, size: 4, alignment: 8, stack-id: default,
19 ; CHECK-NEXT: isImmutable: false, isAliased: false, callee-saved-register: '',
20 ; CHECK-NEXT: callee-saved-restored: true, debug-info-variable: '', debug-info-expression: '',
21 ; CHECK-NEXT: debug-info-location: '' }
22 ; CHECK-NEXT: - { id: 1, type: default, offset: 0, size: 4, alignment: 4, stack-id: default,
23 ; CHECK-NEXT: isImmutable: false, isAliased: false, callee-saved-register: '',
24 ; CHECK-NEXT: callee-saved-restored: true, debug-info-variable: '', debug-info-expression: '',
25 ; CHECK-NEXT: debug-info-location: '' }
26 ; CHECK: RET 0, implicit $eax
31 name: test_arg_nostack
34 ; CHECK-LABEL: name: test_arg_nostack
36 ; CHECK: RET 0, implicit $eax