Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SimplifyIndVar] Simplify non-overflowing saturating add/sub | Nikita Popov | 2019-06-15 | 1 | -8/+8 |
| | | | | | | | | | | | If we can detect that saturating math that depends on an IV cannot overflow, replace it with simple math. This is similar to the CVP optimization from D62703, just based on a different underlying analysis (SCEV vs LVI) that catches different cases. Differential Revision: https://reviews.llvm.org/D62792 llvm-svn: 363489 | ||||
* | [IndVarSimplify] Add tests for saturating math on IV; NFC | Nikita Popov | 2019-06-02 | 1 | -0/+123 |
These saturating math ops can be replaced with simple math. llvm-svn: 362320 |