[PATCH] D126411: update_mir_test_checks: Better handling of common prefixes

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 25 12:51:35 PDT 2022


nhaehnle created this revision.
nhaehnle added reviewers: MaskRay, arsenm, aemerson, arichardson.
Herald added a subscriber: StephenFan.
Herald added a project: All.
nhaehnle requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Support the pattern where a test file uses multiple prefixes per run line:
one prefix that is unique to the run line, and additional prefixes that are
common with other run lines.

Decide on a per-function basis which prefix(es) to emit, based on which run
lines have the same output.

Move the renaming of vregs earlier, so that we can compare the output as it
would actually be printed in check lines.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126411

Files:
  llvm/utils/update_mir_test_checks.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126411.432093.patch
Type: text/x-patch
Size: 5738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220525/e89be158/attachment.bin>


More information about the llvm-commits mailing list