aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2008-02-26Really feed llvm-as with the testcase, do not let it read from stdin. This fi...Gabor Greif
2008-02-23Testcase for Revision 47478.Zhou Sheng
2008-02-18Correctly fold divide-by-constant, even when faced with overflow.Nick Lewycky
2008-02-18optimize away stackrestore calls that have no intervening alloca or call.Chris Lattner
2008-02-18upgrade this test.Chris Lattner
2008-02-17Fold (-x + -y) -> -(x+y) which promotes better association, fixingChris Lattner
2008-02-05Fix a bug compiling PR1978 (perhaps not the only one though) whichChris Lattner
2008-02-03Tag this test with the PR reference.Nick Lewycky
2008-02-03There are some cases where icmp(add) can be folded into a new icmp. Handle them.Nick Lewycky
2008-01-29eliminate additions of 0.0 when they are obviously dead. This has to be care...Chris Lattner
2008-01-28this test is now compiled into the right thing.Chris Lattner
2008-01-28Handle some more combinations of extend and icmp. Fixes PR1940.Nick Lewycky
2008-01-28Fix PR1932 by disabling an xform invalid for fdiv.Chris Lattner
2008-01-27Fold fptrunc(add (fpextend x), (fpextend y)) -> add(x,y), as GCC does.Chris Lattner
2008-01-22Multiply can be evaluated in a different type, so long as the target type hasNick Lewycky
2008-01-14I noticed that the trampoline straightening transformation couldDuncan Sands
2008-01-14Turn a memcpy from a double* into a load/store of double instead ofChris Lattner
2008-01-13Fix PR1907, a nasty miscompilation because instcombine didn'tChris Lattner
2008-01-13When turning a call to a bitcast function into a direct call,Duncan Sands
2008-01-08Implement PR1795, an instcombine hack for forming GEPs with integer pointer a...Chris Lattner
2008-01-06The transform that tries to turn calls to bitcast functions intoDuncan Sands
2008-01-06When transforming a call to a bitcast function intoDuncan Sands
2008-01-05remove a couple more unsafe xforms in the face of overflow.Chris Lattner
2007-12-29dead calls to llvm.stacksave can be deleted, even though theyChris Lattner
2007-12-29upgrade this testChris Lattner
2007-12-28Add a testcase for my recent InstCombine fix, written by Nicholas.Owen Anderson
2007-12-22implement InstCombine/shift-trunc-shift.ll. This allowsChris Lattner
2007-12-20Implement review feedback, including additional transformsChristopher Lamb
2007-12-18Remove an orthogonal transformation of the selection condition from my most r...Christopher Lamb
2007-12-18Fix typos.Christopher Lamb
2007-12-18Fold certain additions through selects (and their compares) so as to eliminat...Christopher Lamb
2007-12-16Make instcombine promote inline asm calls to 'nounwind'Duncan Sands
2007-12-121. "Upgrage" comments.Wojciech Matyjewicz
2007-12-11Implement constant folding if vector<->vector bitcasts where the numberChris Lattner
2007-12-10Fix PR1850 by removing an unsafe transformation from VMCore/ConstantFold.cpp.Chris Lattner
2007-11-25Implement PR1822Chris Lattner
2007-11-25Fix PR1816. If a bitcast of a function only exists because of aDuncan Sands
2007-11-22Fix PR1817.Chris Lattner
2007-11-16Fix PR1800 by correcting mistaken logic.Chris Lattner
2007-11-08Better checkAndrew Lenharth
2007-11-08Fix PR1780Andrew Lenharth
2007-11-06Implement PR1777 by detecting dependent phis thatChris Lattner
2007-11-05Fix an abort in instcombine when folding creates a vector rem instruction.Dan Gohman
2007-11-01Fix InstCombine/2007-10-31-StringCrash.ll by removing an obviousChris Lattner
2007-11-01Fix InstCombine/2007-10-31-RangeCrash.llChris Lattner
2007-10-30Add support for folding binary operators with vector zero operands.Dan Gohman
2007-10-29update testcaseChris Lattner
2007-10-29Model stacksave and stackrestore as both writing memory, since we Chris Lattner
2007-10-29Fix PR1749 and InstCombine/2007-10-28-EmptyField.ll by handlingChris Lattner
2007-10-24Implement a couple of foldings for ordered and unordered comparisons,Chris Lattner