[UpdateTestChecks] Add UTC_ARGS support for update_{llc,cc}_test_checks.py
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 8 Jul 2020 09:59:50 +0000 (10:59 +0100)
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 8 Jul 2020 10:00:10 +0000 (11:00 +0100)
commita80afc032859ebe65af283f76b38a0f5921b683f
tree2f519c22b259ff3acbb974e6422937820a9f798b
parentaae413462fae16c481df31ff23b951c5df494a60
[UpdateTestChecks] Add UTC_ARGS support for update_{llc,cc}_test_checks.py

https://reviews.llvm.org/D69701 added support for on-the-fly argument
changes for update scripts. I recently wanted to keep some manual check
lines in a test generated by update_cc_test_checks.py in our CHERI fork, so
this commit adds support for UTC_ARGS in update_cc_test_checks.py. And since
I was refactoring the code to be in common.py, I also added it for
update_llc_test_checks.py.

Reviewed By: jdoerfert, MaskRay
Differential Revision: https://reviews.llvm.org/D78478
12 files changed:
clang/test/utils/update_cc_test_checks/Inputs/mangled_names.c.funcsig.expected
clang/test/utils/update_cc_test_checks/Inputs/on_the_fly_arg_change.c [new file with mode: 0644]
clang/test/utils/update_cc_test_checks/Inputs/on_the_fly_arg_change.c.expected [new file with mode: 0644]
clang/test/utils/update_cc_test_checks/mangled_names.test
clang/test/utils/update_cc_test_checks/on_the_fly_arg_change.test [new file with mode: 0644]
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/basic.ll.expected
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll [new file with mode: 0644]
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll.expected [new file with mode: 0644]
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/basic.test
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/on_the_fly_arg_change.test [new file with mode: 0644]
llvm/utils/update_cc_test_checks.py
llvm/utils/update_llc_test_checks.py