summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/with_overflow.ll
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+606
| | | | | | | | The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
* Temporarily Revert "Add basic loop fusion pass."Eric Christopher2019-04-171-606/+0
| | | | | | | | As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
* [InstCombine] Handle ssubo always overflowNikita Popov2019-04-101-2/+3
| | | | | | | | | Following D60483 and D60497, this adds support for AlwaysOverflows handling for ssubo. This is the last case we can handle right now. Differential Revision: https://reviews.llvm.org/D60518 llvm-svn: 358100
* [InstCombine] Handle saddo always overflowNikita Popov2019-04-101-2/+3
| | | | | | | | | Followup to D60483: Handle AlwaysOverflow conditions for saddo as well. Differential Revision: https://reviews.llvm.org/D60497 llvm-svn: 358095
* [InstCombine] Handle usubo always overflowNikita Popov2019-04-101-2/+3
| | | | | | | | | | | Check AlwaysOverflow condition for usubo. The implementation is the same as the existing handling for uaddo and umulo. Handling for saddo and ssubo will follow (smulo doesn't have the necessary ValueTracking support). Differential Revision: https://reviews.llvm.org/D60483 llvm-svn: 358052
* [InstCombine] Add with.overflow always overflow tests; NFCNikita Popov2019-04-091-0/+79
| | | | | | | | The uadd and umul cases are currently handled, the usub, sadd, ssub and smul cases are not. usub, sadd and ssub already have the necessary ValueTracking support, smul doesn't. llvm-svn: 358031
* [InstCombine] Improve with.overflow intrinsic tests; NFCNikita Popov2019-03-181-0/+54
| | | | | | | | | | | - Do not use unnamed values in saddo tests - Add tests for canonicalization of a constant arg0 Patch by Dan Robertson. Differential Revision: https://reviews.llvm.org/D59476 llvm-svn: 356403
* [InstCombine] Add tests for PR40846; NFCNikita Popov2019-02-241-0/+123
| | | | | | The icmps are the same as the overflow result of the intrinsic. llvm-svn: 354760
* [InstCombine] Move with.overflow tests to separate file; NFCNikita Popov2019-02-241-0/+347
And regenerate checks. I had to rename some variables, because update_test_checks can't deal with the same variable names used in lower and upper case. I've also dropped the result type aliases, as just using the type directly gives a cleaner result. llvm-svn: 354759
OpenPOWER on IntegriCloud