aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms
AgeCommit message (Expand)Author
2011-02-13Teach instsimplify that X+Y>=X+Z is the same as Y>=Z if neither side overflows,Duncan Sands
2011-02-13Fix testNadav Rotem
2011-02-13Fix a regression from r125393;Nadav Rotem
2011-02-13add PR#Chris Lattner
2011-02-13implement instcombine folding for things like (x >> c) < 42.Chris Lattner
2011-02-12SimplifyLibCalls: Add missing legalize check on various printf to puts andDaniel Dunbar
2011-02-12tests: FileCheckizeDaniel Dunbar
2011-02-11Also fold (A+B) == A -> B == 0 when the add is commuted.Benjamin Kramer
2011-02-11Fix 9173.Nadav Rotem
2011-02-11Add a test for the LSR issue exposed by r125254.Cameron Zwarich
2011-02-10Tolerate degenerate phi nodes that can occur in the middle of optimizationNick Lewycky
2011-02-10Rename 'loopsimplify' to 'loop-simplify'.Cameron Zwarich
2011-02-10implement the first part of PR8882: when lowering an inboundsChris Lattner
2011-02-10Enhance a bunch of transformations in instcombine to start generatingChris Lattner
2011-02-10Enhance the "compare with shift" and "compare with div" Chris Lattner
2011-02-10more cleanups, notably bitcast isn't used for "signed to unsigned type Chris Lattner
2011-02-09Teach instsimplify some tricks about exact/nuw/nsw shifts.Chris Lattner
2011-02-09merge two tests.Chris Lattner
2011-02-09When removing a function from the function set and adding it to deferred, weNick Lewycky
2011-02-07SimplifyCFG: Track the number of used icmps when turning a icmp chain into a ...Benjamin Kramer
2011-02-06teach instsimplify to transform (X / Y) * Y to XChris Lattner
2011-02-06rename test.Chris Lattner
2011-02-06enhance vmcore to know that udiv's can be exact, and add a trivialChris Lattner
2011-02-06When loading from a constant, fold inttoptr if the integer type and the resul...Anders Carlsson
2011-02-03SimplifyCFG: Also transform switches that represent a range comparison but ar...Benjamin Kramer
2011-02-03Improve threading of comparisons over select instructions (spotted by myDuncan Sands
2011-02-02Reenable the transform "(X*Y)/Y->X" when the multiplication is known not toDuncan Sands
2011-02-02SimplifyCFG: Turn switches into sub+icmp+branch if possible.Benjamin Kramer
2011-02-02Fix reassociate to clear optional flags, such as nsw.Dan Gohman
2011-02-01Have m_One also match constant vectors for which every element is 1.Duncan Sands
2011-01-30Recognize and simplifyAnders Carlsson
2011-01-30Commit 124487 broke 254.gap. See if disabling the part that might be triggeredDuncan Sands
2011-01-30Transform (X/Y)*Y into X if the division is exact. Instcombine already knows...Duncan Sands
2011-01-29Add the select optimization recently added to instcombine to constant folding.Nick Lewycky
2011-01-29Move InstCombine's knowledge of fdiv to SimplifyInstruction().Frits van Bommel
2011-01-29Fix typo: should have been testing that X was odd, not V.Duncan Sands
2011-01-29Add a test for TCE return duplication.Evan Cheng
2011-01-29Re-apply r124518 with fix. Watch out for invalidated iterator.Evan Cheng
2011-01-29Revert r124518. It broke Linux self-host.Evan Cheng
2011-01-29Re-commit r124462 with fixes. Tail recursion elim will now dup ret into uncon...Evan Cheng
2011-01-28My auto-simplifier noticed that ((X/Y)*Y)/Y occurs several times in SPECDuncan Sands
2011-01-28Revert r124462. There are a few big regressions that I need to fix first.Evan Cheng
2011-01-28Clean up the tests a little, make sure we match an instruction in the rightNick Lewycky
2011-01-28Fold select + select where both selects are on the same condition.Nick Lewycky
2011-01-28- Stop simplifycfg from duplicating "ret" instructions into unconditionalEvan Cheng
2011-01-27Fix surprising missed optimization in mergefunc where we forgot to considerNick Lewycky
2011-01-26Fix PR9039, a use-after-free in reassociate. The issue was that theDuncan Sands
2011-01-25In which I discover that zero+zero is zero, d'oh!Duncan Sands
2011-01-25Turn off this test - the corresponding instsimplify logic has beenDuncan Sands
2011-01-25According to my auto-simplifier the most common missed simplifications inDuncan Sands