1 # REQUIRES: x86-registered-target
2 ## Check that update_mir_test_checks handles --print-fixed-stack properly.
4 ## Verify with --print-fixed-stack, the proper CHECK lines for fixedStack are
5 ## 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-stack
7 # RUN: diff -u %S/Inputs/print-stack.mir.expected %t.mir
9 ## Check that re-running without --print-fixed-stack does not change the
10 ## CHECK lines, because of UTC_ARGS.
11 # RUN: %update_mir_test_checks %t.mir
12 # RUN: diff -u %S/Inputs/print-stack.mir.expected %t.mir