summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/div.ll
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] Extend `0 - (X sdiv C) -> (X sdiv -C)` fold to non-splat vectorsRoman Lebedev2019-12-051-6/+3
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+1049
* Temporarily Revert "Add basic loop fusion pass."Eric Christopher2019-04-171-1049/+0
* [InstCombine] Canonicalize (-X s/ Y) to -(X s/ Y).Chen Zheng2019-04-101-6/+6
* [InstCombine] prevent possible miscompile with sdiv+negate of vector opSanjay Patel2019-04-091-4/+7
* [InstCombine] add tests for sdiv with negated dividend and constant divisor; NFCSanjay Patel2019-04-091-12/+97
* [InstCombine] add tests for sdiv-by-int-min; NFCSanjay Patel2019-04-091-0/+30
* [InstCombine] prevent possible miscompile with negate+sdiv of vector opSanjay Patel2019-04-091-4/+6
* [InstCombine] add tests/comments for negate+sdiv; NFCSanjay Patel2019-04-091-0/+35
* [InstCombine] add tests for negate+sdiv; NFCSanjay Patel2019-04-081-0/+51
* [InstCombine] sdiv exact flag fixup.Chen Zheng2019-04-081-4/+4
* [InstCombine] add more testcases for sdiv exact flag fixup.Chen Zheng2019-04-081-6/+68
* [InstCombine] add testcases for sdiv exact flag fixing - NFC.Chen Zheng2019-04-081-0/+19
* [InstCombine] fold udiv with common factor from muls with nuwSanjay Patel2018-07-261-12/+4
* [InstCombine] add tests for udiv with common factor; NFCSanjay Patel2018-07-261-0/+82
* [InstCombine] fold udiv with sext bool divisorSanjay Patel2018-06-261-4/+4
* [InstCombine] add/move tests for udiv; NFCSanjay Patel2018-06-251-0/+52
* [InstCombine] fold sdiv with sext bool divisorSanjay Patel2018-06-251-4/+2
* [InstCombine] add tests for sdiv with sext bool divisor; NFCSanjay Patel2018-06-251-84/+112
* [InstSimplify] move/add/regenerate checks for tests; NFCSanjay Patel2018-04-211-9/+0
* [InstCombine] X / (X * Y) -> 1 / Y if the multiplication does not overflowSanjay Patel2018-02-111-12/+14
* [InstCombine] add tests for div-mul folds; NFCSanjay Patel2018-02-111-0/+53
* [InstCombine] Fix a vector splat handling bug in transformZExtICmp.Craig Topper2017-10-051-0/+9
* [InstSimplify] fold sdiv/srem based on compare of dividend and divisorSanjay Patel2017-09-141-8/+5
* [InstCombine] Simplify 1/X for vectors.Craig Topper2017-04-171-2/+5
* [InstCombine] Add test cases for missing support for simplifying 1/X for vect...Craig Topper2017-04-171-0/+18
* [InstCombine] Add support for turning vector sdiv into udiv.Craig Topper2017-04-171-6/+3
* [InstCombine] Add test cases for missing support for turning vector sdiv into...Craig Topper2017-04-171-0/+11
* [InstCombine] allow icmp (div X, Y), C folds for splat constant vectorsSanjay Patel2016-08-311-10/+5
* [InstCombine] add tests for missing vector icmp foldsSanjay Patel2016-08-151-0/+36
* [InstCombine] shrink type of sdiv if dividend is sexted and constant divisor ...Sanjay Patel2016-06-271-9/+21
* add tests for PR28153Sanjay Patel2016-06-271-0/+76
* [ValueTracking, InstCombine] extend isKnownToBeAPowerOfTwo() to handle vector...Sanjay Patel2016-05-221-1/+1
* add test vector sdivSanjay Patel2016-05-201-0/+15
* [InstCombine] regenerate checksSanjay Patel2016-05-021-131/+183
* Handle non-constant shifts in computeKnownBits, and use computeKnownBits for ...Hal Finkel2015-10-231-3/+1
* [InstCombine] Don't divide by zero when evaluating a potential transformDavid Majnemer2015-09-061-0/+18
* Fix a bunch of trivial cases of 'CHECK[^:]*$' in the tests. NFCIJonathan Roelofs2015-08-101-1/+1
* InstCombine: Propagate exact for (sdiv X, Pow2) -> (udiv X, Pow2)David Majnemer2014-11-221-0/+11
* InstCombine: Propagate exact for (sdiv X, Y) -> (udiv X, Y)David Majnemer2014-11-221-0/+10
* InstCombine: Propagate exact for (sdiv -X, C) -> (sdiv X, -C)David Majnemer2014-11-221-0/+9
* InstCombine: Propagate exact in (udiv (lshr X,C1),C2) -> (udiv x,C1<<C2)David Majnemer2014-11-221-0/+9
* InstCombine: Preserve nsw when folding X*(2^C) -> X << CDavid Majnemer2014-11-221-2/+2
* InstCombine: Don't miscompile X % ((Pow2 << A) >>u B)David Majnemer2014-10-141-1/+13
* InstCombine: Don't miscompile (x lshr C1) udiv C2David Majnemer2014-10-131-3/+13
* InstCombine: Don't fold (X <<s log(INT_MIN)) /s INT_MIN to XDavid Majnemer2014-10-111-0/+17
* InstCombine: mul to shl shouldn't preserve nswDavid Majnemer2014-10-111-2/+2
* InstCombine: Combine mul with div.David Majnemer2014-08-161-0/+72
* Optimize integral reciprocal (udiv 1, x and sdiv 1, x) to not use division. T...Nick Lewycky2014-05-141-0/+19
* InstCombine: Teach most integer add/sub/mul/div combines how to deal with vec...Benjamin Kramer2014-01-191-0/+24
OpenPOWER on IntegriCloud