aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstSimplify
Commit message (Expand)AuthorAgeFilesLines
* InstructionSimplify should be able to simplify A+B==B+A to 'true'Duncan Sands2012-11-161-0/+9
* Revert r153521 as it's causing large regressions on the nightly testers.Chad Rosier2012-03-281-15/+0
* Reapply r153423; the original commit was fine. The failing test, distray, had Chad Rosier2012-03-271-0/+15
* Revert r153423 as this is causing failures on our internal nightly testers.Chad Rosier2012-03-261-15/+0
* Use the new range metadata in computeMaskedBits and add a new optimization toRafael Espindola2012-03-261-0/+15
* Teach instsimplify how to simplify comparisons of pointers which areChandler Carruth2012-03-251-0/+62
* Switch the pointer-difference simplification logic to only work withChandler Carruth2012-03-251-10/+25
* Generalize the "trunc(ptrtoint(x)) - trunc(ptrtoint(y)) ->Duncan Sands2012-03-131-0/+9
* Teach instsimplify how to constant fold pointer differences.Chandler Carruth2012-03-121-0/+33
* Make sure we don't return bits outside the mask in ComputeMaskedBits. PR12189.Eli Friedman2012-03-051-0/+22
* Reinstate the optimization from r151449 with a fix to not turn 'gep %x' intoNick Lewycky2012-02-261-0/+63
* Roll these back to r151448 until I figure out how they're breakingNick Lewycky2012-02-251-54/+0
* An argument and a local identified object (eg. a noalias call) could turn outNick Lewycky2012-02-251-14/+24
* Teach instsimplify to be more aggressive when analyzing comparisons of pointersNick Lewycky2012-02-251-0/+44
* fix PR12075, a regression in a recent transform I added. In unreachable code...Chris Lattner2012-02-241-0/+10
* fold comparisons of gep'd alloca points with null to false,Chris Lattner2012-02-201-1/+12
* Fix a rather nasty regression from r150690: LHS != RHS does not imply LHS->st...Eli Friedman2012-02-181-0/+10
* InstSimplify: Ignore pointer casts when constant folding compares between poi...Benjamin Kramer2012-02-161-0/+20
* Replace all instances of dg.exp file with lit.local.cfg, since all tests are ...Eli Bendersky2012-02-162-3/+1
* Fix PR11948: the result type of an icmp may be a vector of boolean -Duncan Sands2012-02-101-0/+7
* Revert commit 149912 (lattner) and add a testcase that shows the problem (whichDuncan Sands2012-02-101-0/+9
* Add support for vectors of pointers.Nadav Rotem2011-12-051-0/+8
* Fix a crash in which a multiplication was being reported as being both negativeDuncan Sands2011-11-231-0/+17
* Fix code to match comment. Fixes PR11340, a regression from r143209.Eli Friedman2011-11-081-0/+10
* Add tests for existing InstSimplify features.Dan Gohman2011-11-041-0/+21
* Teach instsimplify to simplify calls to undef.Dan Gohman2011-11-041-0/+7
* Reapply commit 143214 with a fix: m_ICmp doesn't match conditionsDuncan Sands2011-10-301-0/+18
* Revert r143214; it's breaking a bunch of stuff.Eli Friedman2011-10-291-9/+0
* The expression icmp eq (select (icmp eq x, 0), 1, x), 0 folds to false.Duncan Sands2011-10-281-0/+9
* A shift of a power of two is a power of two or zero.Duncan Sands2011-10-281-0/+10
* Fold icmp ugt (udiv X, Y), X to false. Spotted by my super-optimizerDuncan Sands2011-10-281-0/+24
* Reapply commit 143028 with a fix: the problem was casting a ConstantExpr MulDuncan Sands2011-10-272-0/+43
* Revert Duncan's r143028 expression folding which appears to be the culpritBob Wilson2011-10-271-31/+0
* The maximum power of 2 dividing a power of 2 is itself. This occursDuncan Sands2011-10-261-0/+12
* My super-optimizer noticed that we weren't folding this expression toDuncan Sands2011-10-261-0/+31
* InstSimplify: Don't try to replace an extractvalue/insertvalue pair with the ...Benjamin Kramer2011-09-051-4/+11
* Add some simple insertvalue simplifications, for the purpose of cleaningDuncan Sands2011-09-051-0/+22
* Remove bogus test: for all possible inputs of %X, the 'sub nsw' is guaranteedNick Lewycky2011-07-191-11/+0
* Improve constant folding of undef for cmp and select operators.Dan Gohman2011-07-011-0/+28
* Improve constant folding of undef for binary operators.Dan Gohman2011-07-011-0/+99
* The comparision "max(x,y)==x" is equivalent to "x>=y". Since the max isDuncan Sands2011-05-071-0/+36
* Add variations on: max(x,y) >= min(x,z) folds to true. This isn't that common,Duncan Sands2011-05-041-0/+88
* Implement some basic simplifications involving min/max, for exampleDuncan Sands2011-05-031-0/+145
* Move some rem transforms out of instcombine and into instsimplify.Duncan Sands2011-05-021-0/+17
* Teach ComputeMaskedBits about sub nsw.Benjamin Kramer2011-03-121-0/+23
* Teach ComputeMaskedBits about nsw on add. I don't think there's anything we canNick Lewycky2011-03-111-0/+10
* Fix mistyped CHECK lines.Benjamin Kramer2011-03-091-1/+1
* Add another micro-optimization. Apologies for the lack of refactoring, but INick Lewycky2011-03-091-0/+8
* Thread comparisons over udiv/sdiv/ashr/lshr exact and lshr nuw/nsw wheneverNick Lewycky2011-03-051-0/+9
* Revert broken srem logic from r126991.Nick Lewycky2011-03-041-9/+0