Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ValueTracking] Teach isKnownNonZero about monotonically increasing PHIs | James Molloy | 2015-09-29 | 1 | -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 |