Allow update_test_checks.py to not scrub names.
commit131e1c17a86eacfb783b1b17ebe81827d01ea0fe
authorDavid Greene <greened@obbligato.org>
Mon, 7 Oct 2019 14:37:20 +0000 (7 14:37 +0000)
committerDavid Greene <greened@obbligato.org>
Mon, 7 Oct 2019 14:37:20 +0000 (7 14:37 +0000)
tree946be5ac173dc67e426e7df7ecc223a66e5d9134
parent5bf30f7111bb762627a231f44d4aa4d3e32d5faf
Allow update_test_checks.py to not scrub names.

Add a --preserve-names option to tell the script not to replace IR names.
Sometimes tests want those names.  For example if a test is looking for a
modification to an existing instruction we'll want to make the names.

Differential Revision: https://reviews.llvm.org/D68081

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373912 91177308-0d34-0410-b5e6-96231b3b80d8
utils/UpdateTestChecks/common.py
utils/update_test_checks.py