summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ScalarEvolution/trip-count-andor.ll
Commit message (Collapse)AuthorAgeFilesLines
* [SCEV] Add a mode to skip classification when printing analysisPhilip Reames2019-11-211-113/+1
| | | | For the various trip-count tests, the classification isn't useful and makes the auto-generated tests super verbose. By skipping it, we make the auto-gen tests closer to the manually written ones. Up next: auto-genning a bunch of the existings tests.
* [SCEV] Be robust against IR generated by simple-loop-unswitchPhilip Reames2019-11-211-48/+64
| | | | | | Simple loop unswitch likes to leave around unsimplified and/or/xors. SCEV today bails out on these idioms which is unfortunate in general, and specifically for the unswitch interaction. Differential Revision: https://reviews.llvm.org/D70459
* Precommit test showing oppurtunity when computing exit tests of unsimplified IRPhilip Reames2019-11-191-0/+461
If we partially unswitch a loop, we leave around the (and i1 X, true) or (or i1 X, false) forms. At the moment, this inhibits SCEVs ability to compute trip counts, patch forthcoming.
OpenPOWER on IntegriCloud