summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/sub.ll
Commit message (Expand)AuthorAgeFilesLines
* [Analysis] Don't assume that unsigned overflow can't happen in EmitGEPOffset ...Mikhail Maltsev2019-10-171-9/+9
* [InstCombine] Add new combine to add foldingRobert Lougher2019-05-071-3/+2
* Precommit tests for or/add transform. NFC.Robert Lougher2019-05-071-0/+50
* Revert r359549 - incorrect update of test checks. NFCRobert Lougher2019-05-031-4/+4
* Update checks in an instcombine test, NFCJeremy Morse2019-04-301-4/+4
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+1294
* Temporarily Revert "Add basic loop fusion pass."Eric Christopher2019-04-171-1294/+0
* [ValueTracking] Use computeConstantRange() in signed add overflow determinationNikita Popov2019-04-091-2/+2
* Reapply [ValueTracking] Support min/max selects in computeConstantRange()Nikita Popov2019-04-071-1/+1
* [ValueTracking] Use ConstantRange based overflow check for signed subNikita Popov2019-03-211-2/+2
* [InstCombine] Add additional sub nsw inference tests; NFCNikita Popov2019-03-201-2/+28
* [InstCombine] use m_Neg() in dyn_castNegVal() to match vectors with undef eltsSanjay Patel2018-10-191-5/+5
* [InstCombine] move/add tests for sub/neg; NFCSanjay Patel2018-10-191-52/+175
* [InstCombine] Fold (min/max ~X, Y) -> ~(max/min X, ~Y) when Y is freely inver...Craig Topper2018-09-221-24/+18
* [InstCombine] Partially revert rL341674 due to PR38897.Alina Sbirlea2018-09-101-18/+24
* [InstCombine] Fold (min/max ~X, Y) -> ~(max/min X, ~Y) when Y is freely inver...Craig Topper2018-09-071-24/+18
* [InstCombine] Add test cases for D51398Craig Topper2018-08-301-0/+93
* [InstSimplify] add/move tests for add folds; NFCSanjay Patel2018-07-111-9/+0
* [InstCombine] move/add tests for sub with bool op; NFCSanjay Patel2018-05-221-72/+0
* [PatternMatch] define m_Not using m_Xor and cst_pred_tySanjay Patel2018-03-061-4/+1
* [InstCombine] add test for vectors with undef elts; NFCSanjay Patel2018-03-031-1/+14
* [InstCombine] (~X) - (~Y) --> Y - XSanjay Patel2018-03-031-4/+2
* [InstCombine] add tests for notnotsub; NFCSanjay Patel2018-03-031-0/+36
* [InstCombine] put tests of mul with neg operand(s) together; NFCSanjay Patel2018-02-131-21/+0
* [InstCombine] Support pulling left shifts through a subtract with constant LHSCraig Topper2017-08-081-0/+44
* [InstCombine] Simplify pointer difference subtractions (GEP-GEP) where GEPs h...Hiroshi Yamauchi2017-07-271-0/+81
* [InstCombine] Support folding a subtract with a constant LHS into a phi nodeCraig Topper2017-04-141-9/+6
* [InstCombine] Regenerate test checks using script. NFCCraig Topper2017-04-141-3/+4
* [InstCombine] Use commutable matchers and m_OneUse in visitSub to shorten cod...Craig Topper2017-04-101-0/+122
* [InstCombine] Use m_c_Add to shorten some code. Add testcases for this fold s...Craig Topper2017-04-101-0/+18
* [InstCombine] Add test cases for various add/subtracts of constants(scalar, s...Craig Topper2017-04-041-0/+98
* [InstCombine] Turn subtract of vectors of i1 into xor like we do for scalar i...Craig Topper2017-04-041-0/+9
* [InstCombine] Teach SimplifyDemandedUseBits to shrink Constants on the left s...Craig Topper2017-03-221-0/+43
* [InstCombine] Use update_test_checks.py to regenerate a test. NFCCraig Topper2017-03-191-78/+78
* [InstCombine] fix operand-complexity-based canonicalization (PR28296)Sanjay Patel2017-02-031-2/+2
* [InstCombine] use m_APInt to allow sub with constant folds for splat vectorsSanjay Patel2016-10-141-4/+2
* [InstCombine] add tests for missing vector foldsSanjay Patel2016-10-141-0/+22
* [InstCombine] remove redundant testSanjay Patel2016-10-141-11/+0
* [InstCombine] sub X, sext(bool Y) -> add X, zext(bool Y)Sanjay Patel2016-10-141-0/+53
* [InstCombine] regenerate checksSanjay Patel2016-09-081-228/+284
* [InstCombine] use m_APInt to allow icmp (binop X, Y), C folds with constant s...Sanjay Patel2016-08-031-4/+1
* add vector test for icmp+subSanjay Patel2016-08-031-5/+19
* [InstCombine] Optimize subtract of selects into a select of a subDavid Majnemer2015-06-231-0/+22
* [opaque pointer type] Add textual IR support for explicit type parameter to g...David Blaikie2015-03-131-2/+2
* [opaque pointer type] Add textual IR support for explicit type parameter to g...David Blaikie2015-02-271-15/+15
* InstCombine: Combine (X | Y) - X to (~X & Y)David Majnemer2014-11-031-0/+10
* InstCombine: (sub (or A B) (xor A B)) --> (and A B)David Majnemer2014-10-191-0/+10
* InstCombine: Fix miscompile in X % -Y -> X % Y transformDavid Majnemer2014-10-131-2/+3
* InstCombine: sub nsw %x, C -> add nsw %x, -C if C isn't INT_MINDavid Majnemer2014-08-221-0/+8
* InstCombine: Annotate sub with nuw when we prove it's safeDavid Majnemer2014-08-201-1/+13
OpenPOWER on IntegriCloud