[Utils] Allow update_test_checks to check function information
authorJohannes Doerfert <johannes@jdoerfert.de>
Thu, 10 Oct 2019 17:08:21 +0000 (12:08 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 31 Oct 2019 01:40:42 +0000 (20:40 -0500)
commit3598b810029dee4abfd5545f02ec256d33f79e71
treede3635c1e59c54b23a7450485d3c781a07ebd11d
parentf0eeb3c7a7136dd043b792ff2d321ad492db203a
[Utils] Allow update_test_checks to check function information

Summary:
This adds a switch to the update_test_checks that triggers arguments and
other function annotations, e.g., personality, to be present in the
check line. If not set, the behavior should be the same as before.
If arguments are recorded, their names are scrubbed from the IR to allow
merging.

This patch includes D68153.

Reviewers: lebedev.ri, greened, spatel, xbolva00, RKSimon, mehdi_amini

Subscribers: bollu, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68819
llvm/utils/UpdateTestChecks/common.py
llvm/utils/update_analyze_test_checks.py
llvm/utils/update_mir_test_checks.py
llvm/utils/update_test_checks.py