diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-05-31 10:46:11 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-05-31 10:46:11 -0400 |
commit | bfdc2552664d6f0bb332a9c6a115877020f3c1df (patch) | |
tree | 7e987c07d45aa2420f8dcc8e112062c30096c9d9 /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | 91b45fb527af8f1f83b51e7238642d3af011bad4 (diff) | |
download | llvm-bfdc2552664d6f0bb332a9c6a115877020f3c1df.zip llvm-bfdc2552664d6f0bb332a9c6a115877020f3c1df.tar.gz llvm-bfdc2552664d6f0bb332a9c6a115877020f3c1df.tar.bz2 |
[utils] change update_test_checks.py use of 'TMP' value names
As discussed in PR45951:
https://bugs.llvm.org/show_bug.cgi?id=45951
There's a potential name collision between update_test_checks.py and -instnamer
and/or manually-generated IR test files because all of them try to use the
variable name that should never be used: "tmp".
This patch proposes to reduce the odds of collision and adds a warning if we
detect the problem. This will cause regression test churn when regenerating
CHECK lines on existing files.
Differential Revision: https://reviews.llvm.org/D80584
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions