aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorAlex Richardson <alexrichardson@google.com>2022-05-12 10:21:55 +0000
committerAlex Richardson <alexrichardson@google.com>2022-05-14 14:15:37 +0000
commit37a68497f1176cab3b2100c3bcb861e063cfaead (patch)
treefab2f872a3d00e531d9778acbc6db76f26f0e60b /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parentf421659286af9ae2d4f01cd1f829832fb5c2bc8b (diff)
downloadllvm-37a68497f1176cab3b2100c3bcb861e063cfaead.zip
llvm-37a68497f1176cab3b2100c3bcb861e063cfaead.tar.gz
llvm-37a68497f1176cab3b2100c3bcb861e063cfaead.tar.bz2
[update_llc_test_checks] Use FileCheck captures for MCInst/MCReg output
To avoid test churn when backends add/rename new instructions/registers, it makes sense to use FileCheck captures for the exact MCInst/Reg number. This is motivated by D125307, where I use --asm-show-inst to differentiate the output for multiple instructions with the same mnemonic. This does not quite fix the churn issue yet: While files with the generated checks will be immune to the numbers changing, the update script test still suffers from this problem since the number is encoded in the FileCheck variable name. I plan to address this in a follow-up patch. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D125307
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions