[all-commits] [llvm/llvm-project] 6c629c: utils/update_mir_test_checks.py: allow checking fi...

Nicolai Hähnle via All-commits all-commits at lists.llvm.org
Thu Dec 8 12:39:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c629cc17f88c8712979ab843cfaca6d2e123091
      https://github.com/llvm/llvm-project/commit/6c629cc17f88c8712979ab843cfaca6d2e123091
  Author: Gaëtan Bossu <gaetan.bossu at amd.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    A llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs/print-stack-first.mir
    A llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs/print-stack.mir.expected
    A llvm/test/tools/UpdateTestChecks/update_mir_test_checks/print-stack.test
    M llvm/utils/update_mir_test_checks.py

  Log Message:
  -----------
  utils/update_mir_test_checks.py: allow checking fixedStack in .mir files

Generation of CHECK lines for fixedStack can be enabled with --print-fixed-stack.
This is particularly useful for tests which need to inspect how the
stack looks, e.g. for ABI tests.

See the other stacked revision building on top of this one which enables UTC_ARGS (in a similar fashion to other test updaters in utils/).

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D135579




More information about the All-commits mailing list