aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorAlex Richardson <alexrichardson@google.com>2022-05-12 10:22:28 +0000
committerAlex Richardson <alexrichardson@google.com>2022-05-14 14:40:50 +0000
commit996873cdcbe0df80ce8cda9f708ac28d6bffbe78 (patch)
tree460256a3ea463609622c6e85aabaf8990245fb37 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parent37a68497f1176cab3b2100c3bcb861e063cfaead (diff)
downloadllvm-996873cdcbe0df80ce8cda9f708ac28d6bffbe78.zip
llvm-996873cdcbe0df80ce8cda9f708ac28d6bffbe78.tar.gz
llvm-996873cdcbe0df80ce8cda9f708ac28d6bffbe78.tar.bz2
[UpdateTestChecks] Use a counter for unpredictable FileCheck variables
Variable captures such as `<MCInst #` can change based on unrelated changes to the LLVM backends, to avoid the generated test cases being different use an incrementing counter for variable names instead of using the actual value from the output file. This change may also be beneficial for some nameless IR variables (especially when combined with filtering of output), but for now I've restricted this change to the obvious candidates (--asm-show-inst output). Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D125405
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions