aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstSimplify
Commit message (Expand)AuthorAgeFilesLines
* Add missing colons to check lines.Benjamin Kramer2013-04-111-2/+2
* Check whether a pointer is non-null (isKnownNonNull) in isKnownNonZero.Manman Ren2013-03-181-0/+11
* [SimplifyLibCalls] Library call simplification doen't work if the call site Chad Rosier2013-02-081-0/+48
* Identify and simplify idempotent intrinsics. Test case included.Michael Ilseman2013-02-071-0/+51
* ConstantFolding: Fix a crash when encoutering a truncating inttoptr.Benjamin Kramer2013-02-051-0/+19
* Add a testcase for some past-the-end address subtleties.Dan Gohman2013-02-011-0/+77
* InstSimplify: stripAndComputeConstantOffsets can be called with vectors of po...Benjamin Kramer2013-02-011-0/+11
* Rewrite instsimplify's handling if icmp on pointer values to remove theDan Gohman2013-02-011-0/+22
* An alloca can be equal to an argument. It can't *alias* an alloca, but it couldDan Gohman2013-01-311-0/+13
* Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko2012-12-301-1/+1
* Teach instsimplify to use the constant folder where appropriate forChandler Carruth2012-12-281-0/+52
* Added a slew of SimplifyInstruction floating-point optimizations, many of whi...Michael Ilseman2012-12-122-0/+107
* Add support to ValueTracking for determining that a pointer is non-nullChandler Carruth2012-12-071-0/+40
* Fast-math test for SimplifyInstruction: fold multiply by 0Michael Ilseman2012-11-271-0/+35
* 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