summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/shift.ll
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] Invert `add A, sext(B) --> sub A, zext(B)` canonicalization (to...Roman Lebedev2019-12-051-1/+18
* [InstCombine] fold a shifted bool zext to a select (2nd try)Sanjay Patel2019-10-151-6/+14
* Revert [InstCombine] fold a shifted bool zext to a selectSanjay Patel2019-10-141-3/+6
* [InstCombine] fold a shifted bool zext to a selectSanjay Patel2019-10-141-6/+3
* [InstCombine] add tests for select/shift transforms; NFCSanjay Patel2019-10-141-0/+33
* [InstCombine] Fold 'icmp eq/ne (?trunc (lshr/ashr %x, bitwidth(x)-1)), 0' -> ...Roman Lebedev2019-10-041-2/+2
* [NFC][InstCombine] Autogenerate shift.ll testRoman Lebedev2019-10-041-114/+114
* Revert r367891 - "[InstCombine] combine mul+shl separated by zext"Sanjay Patel2019-08-161-6/+8
* [InstCombine] combine mul+shl separated by zextSanjay Patel2019-08-051-8/+6
* [InstCombine] add tests for shl+mul; NFCSanjay Patel2019-08-051-0/+71
* [InstCombine] add extra use constraint for shl-zext foldSanjay Patel2019-08-051-2/+1
* [InstCombine] add test for shl-zext with extra use; NFCSanjay Patel2019-08-051-6/+25
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+1539
* Temporarily Revert "Add basic loop fusion pass."Eric Christopher2019-04-171-1539/+0
* [InstSimplify] move tests for shifts; NFCSanjay Patel2018-04-211-105/+6
* [InstCombine] Check for out of range ashr values using APInt before calling g...Simon Pilgrim2018-01-091-0/+23
* [InstCombine] Check for out of range shift values using APInt before calling ...Simon Pilgrim2018-01-031-0/+21
* Recommit r317510 "[InstCombine] Pull shifts through a select plus binop with ...Craig Topper2017-11-071-0/+260
* Revert r317510 "[InstCombine] Pull shifts through a select plus binop with co...Hans Wennborg2017-11-061-260/+0
* [InstCombine] Pull shifts through a select plus binop with constantCraig Topper2017-11-061-0/+260
* [InstCombine] Added support for (X >>s C) << C --> X & (-1 << C)Amjad Aboud2017-08-151-0/+16
* [ValueTracking] Correct early out in computeKnownBitsFromOperator to work wit...Craig Topper2017-06-141-0/+10
* [InstCombine] allow shl+shr demanded bits folds with splat constantsSanjay Patel2017-04-201-6/+4
* [InstCombine] add tests for shl+shr demanded bits splat vector folds; NFCSanjay Patel2017-04-201-2/+24
* [InstCombine] allow shl demanded bits folds with splat constantsSanjay Patel2017-04-201-4/+2
* [InstCombine] allow ashr/lshr demanded bits folds with splat constantsSanjay Patel2017-04-201-4/+2
* [InstCombine] add tests for demanded bits ashr/lshr splat constants; NFCSanjay Patel2017-04-201-0/+22
* [InstCombine] enable (X <<nsw C1) >>s C2 --> X <<nsw (C1 - C2) for vectors wi...Sanjay Patel2017-01-301-2/+1
* [InstCombine] add vector test for (X <<nsw C1) >>s C2 --> X <<nsw (C1 - C2); NFCSanjay Patel2017-01-301-0/+15
* [InstCombine] enable more lshr(shl X, C1), C2 folds for vectors with splat co...Sanjay Patel2017-01-301-4/+12
* [InstCombine] add tests for more shift-shift patterns; NFCSanjay Patel2017-01-301-0/+33
* [InstCombine] enable (X >>?exact C1) << C2 --> X >>?exact (C1-C2) for vectors...Sanjay Patel2017-01-301-4/+2
* [InstCombine] add vector splat tests for (X >>?exact C1) << C2 --> X >>?exact...Sanjay Patel2017-01-301-6/+36
* [InstCombine] enable (X <<nsw C1) >>s C2 --> X <<nsw (C1-C2) for vectors with...Sanjay Patel2017-01-301-3/+3
* [InstCombine] fixed to propagate 'exact' on lshrSanjay Patel2017-01-301-1/+1
* [InstCombine] add 'exact' to lshr to show that it got dropped; NFC Sanjay Patel2017-01-301-1/+2
* [InstCombine] enable lshr(shl X, C1), C2 folds for vectors with splat constantsSanjay Patel2017-01-301-4/+3
* [InstCombine] add tests for shift-shift patterns; NFCSanjay Patel2017-01-301-0/+57
* [InstCombine] enable (X >>?,exact C1) << C2 --> X << (C2 - C1) for vectors wi...Sanjay Patel2017-01-291-6/+2
* [InstCombine] add tests for shl(shr X, C1), C2 transforms; NFCSanjay Patel2017-01-291-4/+58
* [InstCombine] use m_APInt to allow shift-shift folds for vectors with splat c...Sanjay Patel2017-01-161-3/+2
* [InstCombine] add tests to show missed vector folds; NFCSanjay Patel2017-01-151-2/+1
* [InstCombine] use m_APInt to allow ashr folds for vectors with splat constantsSanjay Patel2017-01-151-1/+1
* [InstCombine] use m_APInt to allow shl folds for vectors with splat constantsSanjay Patel2017-01-131-4/+4
* [InstCombine] add tests to show missing transforms for vector shl; NFCSanjay Patel2017-01-131-5/+24
* [InstCombine] Move casts around shift operationsDavid Majnemer2017-01-041-0/+12
* [InstCombine] use m_APInt to allow icmp X, C folds for splat constant vectorsSanjay Patel2016-09-121-3/+1
* [InstCombine] add tests to show missing vector foldsSanjay Patel2016-09-121-0/+12
* [InstCombine] use m_APInt to allow icmp (and X, Y), C folds for splat constan...Sanjay Patel2016-08-281-3/+1
* [InstCombine] use m_APInt to allow icmp eq/ne (shr X, C2), C folds for splat ...Sanjay Patel2016-08-241-11/+6
OpenPOWER on IntegriCloud