| # REQUIRES: x86-registered-target |
| ## Check that update_mir_test_checks handles --print-fixed-stack properly. |
| |
| ## Verify with --print-fixed-stack, the proper CHECK lines for fixedStack are |
| ## generated, and UTC_ARGS is written in the header comment. |
| # RUN: cp -f %S/Inputs/print-stack-first.mir %t.mir && %update_mir_test_checks %t.mir --print-fixed-stack |
| # RUN: diff -u %S/Inputs/print-stack.mir.expected %t.mir |
| |
| ## Check that re-running without --print-fixed-stack does not change the |
| ## CHECK lines, because of UTC_ARGS. |
| # RUN: %update_mir_test_checks %t.mir |
| # RUN: diff -u %S/Inputs/print-stack.mir.expected %t.mir |