summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs
Commit message (Collapse)AuthorAgeFilesLines
* [Utils] Deal with occasionally deleted functionsJohannes Doerfert2019-12-312-0/+31
| | | | | | | | | | | | When functions exist for some but not all run lines we need to be careful when selecting the prefix. So far, a common prefix was potentially chosen as there was never a "conflict" that would have caused otherwise. With this patch we avoid common prefixes if they are used by run lines that do not emit the function. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D68850
* [Utils][Fix] Minor test result changeJohannes Doerfert2019-12-311-1/+1
|
* [Utils] Reuse argument variable names in the bodyJohannes Doerfert2019-12-314-1/+35
| | | | | | | | | | If we have `int foo(int a) { return a; }` and we run with --function-signature enabled, we want a single variable declaration for `a` which is reused later. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D69722
* [Utils] Allow update_test_checks to scrub attribute annotationsJohannes Doerfert2019-12-313-0/+34
| | | | | | | | | Attribute annotations on calls, e.g., #0, are not useful on their own. This patch adds a flag to update_test_checks.py to scrub them. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D68851
* Add initial tests for update_{llc_,cc_,}test_checks.pyAlex Richardson2019-12-163-0/+154
Summary: This commit adds basic tests for these update script to validate that they still work as expected. In the future we could extend these tests whenever new features are added to avoid introducing regressions. Reviewers: xbolva00, MaskRay, jdoerfert Reviewed By: jdoerfert Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70660
OpenPOWER on IntegriCloud