summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/print-debug-counter.ll
Commit message (Collapse)AuthorAgeFilesLines
* [InstCombine] Revisit user of newly one-use instructionsNikita Popov2023-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | Many folds in InstCombine are limited to one-use instructions. For that reason, if the use-count of an instruction drops to one, it makes sense to revisit that one user. This is one of the most common reasons why InstCombine fails to finish in a single iteration. Doing this revisit actually slightly improves compile-time, because we save an extra InstCombine iteration in enough cases to make a visible difference. This is conceptually NFC, but not NFC in practice, because differences in worklist order can result in slightly different folding behavior. The regressed tests in or-shifted-masks.ll now require a sequence of instcombine,early-cse,instcombine to fold fully. D152876 would make these fold in a single instcombine run again. Differential Revision: https://reviews.llvm.org/D151807
* [NFC] Port all Other tests to `-passes=` syntaxRoman Lebedev2022-12-091-3/+3
|
* [opt] Disincentivize new tests from using old pass syntaxRoman Lebedev2022-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Over the past day or so, i've took a large swing at our tests, and reduced the number of tests that were still using the old syntax from ~1800 to just 200. Left to handle: (as it is seen in this patch) * Transforms/LSR * Transforms/CGP * Transforms/TypePromotion * Transforms/HardwareLoops * Analysis/* * some misc. I think this is the right point to start actively refusing to honor the old syntax, except for the old tests, to prevent the old syntax from creeping back in. Thus, let's add temporary default-off flag, and if it is not passed refuse to accept old syntax. The tests that still need porting are annotated with this flag. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D139647
* [EarlyCSE] Verify hash code in regression testsBryan Chan2020-09-041-1/+1
| | | | | | | As discussed in D86843, -earlycse-debug-hash should be used in more regression tests to catch inconsistency between the hashing and the equivalence check. Differential Revision: https://reviews.llvm.org/D86863
* Actually fix test from r345085 REQUIRE: assertsFangrui Song2018-10-231-1/+1
| | | | llvm-svn: 345090
* Fix test after r345085Fangrui Song2018-10-231-0/+2
| | | | llvm-svn: 345089
* Print out DebugCounter info with -print-debug-counterZhizhou Yang2018-10-231-0/+30
Summary: This patch will print out {Counter, Skip, StopAfter} info of all passes which have DebugCounter set at destruction. It can be used to monitor how many times does certain transformation happen in a pass, and also help check if -debug-counter option is set correctly. Please refer to this [[ http://lists.llvm.org/pipermail/llvm-dev/2018-July/124722.html | thread ]] for motivation. Reviewers: george.burgess.iv, davide, greened Reviewed By: greened Subscribers: kristina, llozano, mgorny, llvm-commits, mgrang Differential Revision: https://reviews.llvm.org/D50031 llvm-svn: 345085