[PATCH] D135580: utils/update_mir_test_checks.py: support UTC_ARGS

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 3 05:44:17 PDT 2022


nhaehnle added inline comments.


================
Comment at: llvm/test/tools/UpdateTestChecks/update_mir_test_checks/print-stack.test:4-7
+## Verify that even without --print-fixed-stack, the proper CHECK lines for
+## fixedStack are generated, because of UTC_ARGS.
+# RUN: cp -f %S/Inputs/print-stack-update.mir %t.mir && %update_mir_test_checks %t.mir
+# RUN: diff -u %S/Inputs/print-stack.mir.expected %t.mir
----------------
The common pattern for this is just re-run update_xxx_test_checks on `%t.mir`, but without the `--print-fixed-stack` argument.

Also, remove the `print-stack-update.mir` file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135580/new/

https://reviews.llvm.org/D135580



More information about the llvm-commits mailing list