[PATCH] D125307: [update_llc_test_checks] Scrub MCInst numbers with --asm-show-inst

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 10 05:08:15 PDT 2022


arichardson created this revision.
Herald added a project: All.
arichardson edited the summary of this revision.
arichardson added reviewers: MaskRay, lebedev.ri, jdoerfert.
Herald added a subscriber: StephenFan.
arichardson published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

To avoid test churn when backends add/rename new instructions/registers,
it makes sense to scrub the exact MCInst/Reg number. This is motivated by
D125307 <https://reviews.llvm.org/D125307>, where I use --asm-show-inst to differentiate the output for
multiple instructions with the same mnemonic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125307

Files:
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/asm-show-inst.ll.expected
  llvm/utils/UpdateTestChecks/asm.py
  llvm/utils/UpdateTestChecks/isel.py
  llvm/utils/update_llc_test_checks.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125307.428340.patch
Type: text/x-patch
Size: 5431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220510/7d1bfc6e/attachment.bin>


More information about the llvm-commits mailing list