aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2008-05-09Implement PR2298. This transforms:Chris Lattner
2008-05-08More than just loads can read from memory: readonly calls like strlenChris Lattner
2008-05-08Make instcombine's DSE respect loads as well as stores. It is not safe toChris Lattner
2008-05-07Fix a bug in the ComputeMaskedBits logic for multiply.Dan Gohman
2008-05-06Correct the value of LowBits in srem and urem handling inDan Gohman
2008-05-02Fix a mistake in the computation of leading zeros for udiv.Dan Gohman
2008-05-01Update old-style syntax in some "not grep" tests.Dan Gohman
2008-05-01Fix an overaggressive SimplifyDemandedBits optimization on urem. ThisDan Gohman
2008-05-01move some tests from libcall optimizer suite.Chris Lattner
2008-04-30move lowering of llvm.memset -> store from simplify libcalls Chris Lattner
2008-04-29don't eliminate load from volatile value on paths where the load is dead.Chris Lattner
2008-04-29make this test reduced and *valid*Chris Lattner
2008-04-29fix a subtle volatile handling bug.Chris Lattner
2008-04-29don't delete the last store to an alloca if the store is volatile.Chris Lattner
2008-04-28Teach InstCombine's ComputeMaskedBits what SelectionDAG'sDan Gohman
2008-04-23distill down the essense of this test.Chris Lattner
2008-04-23new testDale Johannesen
2008-04-23Don't do: "(X & 4) >> 1 == 2 --> (X & 4) == 4" if there are more than one us...Evan Cheng
2008-04-22optimize "p != gep p, ..." better. This allows us to compile Chris Lattner
2008-04-19rename *.llx -> *.ll, last batch.Chris Lattner
2008-04-10Teach InstCombine's ComputeMaskedBits to handle pointer expressionsDan Gohman
2008-03-25Handle a special case xor undef, undef -> 0. Technically this should be trans...Evan Cheng
2008-03-25Byebye llvm-upgrade!Tanya Lattner
2008-03-24Transform (zext (or (icmp), (icmp))) to (or (zext (cimp), (zext icmp))) if at...Evan Cheng
2008-03-21Teach masked value is zero about add and sub, and use MVIZ toChris Lattner
2008-03-18Upgrade tests to not use llvm-upgrade.Tanya Lattner
2008-03-14The inst combining of inttoptr into GEP with one index was using the bit size ofBill Wendling
2008-03-09Remove llvm-upgrade and update tests.Tanya Lattner
2008-03-06Commit the testcase too.Nick Lewycky
2008-03-06Don't try to simplify urem and srem using arithmetic rules that don't workNick Lewycky
2008-03-01Remove llvm-upgrade and update test cases.Tanya Lattner
2008-02-29Folding or(fcmp,fcmp) only works if the operands of the fcmps are the same fp...Chris Lattner
2008-02-26fix this test so that the fn name doesn't match the regexChris Lattner
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