13 lines · plain
1# REQUIRES: x86-registered-target2## Check that update_mir_test_checks handles --print-fixed-stack properly.3 4## Verify with --print-fixed-stack, the proper CHECK lines for fixedStack are5## generated, and UTC_ARGS is written in the header comment.6# RUN: cp -f %S/Inputs/print-stack-first.mir %t.mir && %update_mir_test_checks %t.mir --print-fixed-stack7# RUN: diff -u %S/Inputs/print-stack.mir.expected %t.mir8 9## Check that re-running without --print-fixed-stack does not change the10## CHECK lines, because of UTC_ARGS.11# RUN: %update_mir_test_checks %t.mir12# RUN: diff -u %S/Inputs/print-stack.mir.expected %t.mir13