aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-04-08 19:04:57 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-04-08 22:52:46 -0500
commit2bcf5793e14577ed3c9f15a77a35179ae544fff4 (patch)
tree4c21ad49f70a46032c4d5b526fbaecee568402f2 /clang/lib/Frontend/CompilerInvocation.cpp
parentcb0ecc5c33bd56a3eed0fa30ac787accec45d637 (diff)
downloadllvm-2bcf5793e14577ed3c9f15a77a35179ae544fff4.zip
llvm-2bcf5793e14577ed3c9f15a77a35179ae544fff4.tar.gz
llvm-2bcf5793e14577ed3c9f15a77a35179ae544fff4.tar.bz2
[Attributor] Unify testing (=updates,prefixes,run configurations,...)
When the Attributor was created the test update scripts were not well suited to deal with the challenges of IR attribute checking. This partially improved. Since then we also added three additional configurations that need testing; in total we now have the following four: { TUNIT, CGSCC } x { old pass manager (OPM), new pass manager (NPM) } Finally, the number of developers and tests grew rapidly (partially due to the addition of ArgumentPromotion and IPConstantProp tests), which resulted in tests only being run in some configurations, different prefixes being used, and different "styles" of checks being used. Due to the above reasons I believed we needed to take another look at the test update scripts. While we started to use them, via UTC_ARGS: --enable/disable, the other problems remained. To improve the testing situation for *all* configurations, to simplify future updates to the test, and to help identify subtle effects of future changes, we now use the test update scripts for (almost) all Attributor tests. An exhaustive prefix list minimizes the number of check lines and makes it easy to identify and compare configurations. Tests have been adjusted in the process but we tried to keep their intend unchanged. Reviewed By: sstefan1 Differential Revision: https://reviews.llvm.org/D76588
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions