brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 1cef5de Raw
39 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --print-fixed-stack2# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=none -o - %s | FileCheck %s3 4# Note that this file isn't a test in itself (Inputs/ is excluded from lit's5# test discovery). Instead, it is an input to the print-stack.test test that6# verifies the --print-fixed-stack option of update_mir_test_checks.py.7 8---9name:            test_arg_stack10fixedStack:11  - { id: 0, type: default, offset: 0, size: 4, alignment: 4 }12  - { id: 1, type: default, offset: 4, size: 4, alignment: 8 }13stack:           []14body:             |15  bb.1:16    ; CHECK-LABEL: name: test_arg_stack17    ; CHECK: fixedStack: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 $eax27    RET 0, implicit $eax28...29 30---31name:            test_arg_nostack32body:             |33  bb.1:34    ; CHECK-LABEL: name: test_arg_nostack35    ; CHECK: fixedStack:36    ; CHECK: RET 0, implicit $eax37    RET 0, implicit $eax38...39