summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ValueTracking/monotonic-phi.ll
Commit message (Collapse)AuthorAgeFilesLines
* [ValueTracking] Teach isKnownNonZero about monotonically increasing PHIsJames Molloy2015-09-291-0/+49
If a PHI starts at a non-negative constant, monotonically increases (only adds of a constant are supported at the moment) and that add does not wrap, then the PHI is known never to be zero. llvm-svn: 248796
OpenPOWER on IntegriCloud