aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2009-06-15fix testcase to properly check for the patch in r73195.Chris Lattner
2009-06-12Don't do (x - (y - z)) --> (x + (z - y)) on floating-point types, becauseDan Gohman
2009-06-11Fix 4366: store to null in non-default addr space should not beChris Lattner
2009-06-06PR4340: Run SimplifyDemandedVectorElts on insertelement instructions; Eli Friedman
2009-06-04Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman
2009-06-04Check in test changes that I accidentally left out of r72872.Dan Gohman
2009-05-22Fix bug in FoldFCmp_IntToFP_Cst. If inttofp is a uintofp, use unsigned instea...Evan Cheng
2009-05-21Teach ValueTracking a new way to analyze PHI nodes, and and teachDan Gohman
2009-05-13calls in nothrow functions can be marked nothrow even if the calleeChris Lattner
2009-05-07Revert 71165. It did more than just revert 71158 and it introducedDan Gohman
2009-05-07Temporarily revert r71158. It was causing a failure during a full bootstrap:Bill Wendling
2009-05-07Constant-fold ptrtoint+add+inttoptr to gep when the pointer is anDan Gohman
2009-04-25Add several more icmp simplifications. Transform signed comparisonsDan Gohman
2009-04-13Add a new "available_externally" linkage type. This is intendedChris Lattner
2009-04-08Instcombine should not promote whole computation trees to "strange"Chris Lattner
2009-04-07fix rdar://6762290, a crash compiling cxx filt with clang.Chris Lattner
2009-03-31Throttle back "fold select into operand" transformation. InstCombine should n...Evan Cheng
2009-03-25Fix PR3874 by restoring a condition I removed, but making it moreChris Lattner
2009-03-24canonicalize inttoptr and ptrtoint instructions which cast pointers Chris Lattner
2009-03-24two changes:Chris Lattner
2009-03-20Fix instcombine to not introduce undefined shifts when merging twoChris Lattner
2009-03-18Fix PR3826 - InstComb assert with vector shift, by not calling ComputeNumSign...Chris Lattner
2009-03-02Fix PR3694: add an instcombine micro-optimization that helpsDuncan Sands
2009-02-25Fix PR3667Chris Lattner
2009-02-24Add a testcase for the problem fixed in r65289.Dan Gohman
2009-02-24Fix a ValueTracking rule: RHS means operand 1, not 0. Add a simpleDan Gohman
2009-02-21Don't sign extend the char when expanding char -> int duringNick Lewycky
2009-02-21rename a function to indicate that it checks for profitability as wellChris Lattner
2009-02-18Change the argument type in this test to something less convoluted,Dan Gohman
2009-02-17commit a tweaked version of Daniel's patch for PR3599. We nowChris Lattner
2009-02-16Fix EnforceKnownAlignment so that it doesn't ever reduce the alignmentDan Gohman
2009-02-16Change these tests to use regular loads instead of llvm.x86.sse2.loadu.dq.Dan Gohman
2009-02-12Add suppport for ConstantExprs of shufflevectors whose result type is not equ...Nate Begeman
2009-02-07Instrcombine should not change load(cast p) to cast(load p) if the castMon P Wang
2009-02-04Allow the inverse transform x86_fp80 -> i80 (alsoDuncan Sands
2009-02-04Fix PR3468: a crash when constant folding a bitcast ofDuncan Sands
2009-02-03APInt'fy SimplifyDemandedVectorElts so it can analyze vectors with more than ...Evan Cheng
2009-02-02reduce testcase.Chris Lattner
2009-01-31Reinstate this optimization to fold icmp of xor when possible. Don't try toNick Lewycky
2009-01-31Fix PR3452 (an infinite loop bootstrapping) by disabling the recentChris Lattner
2009-01-31now that all the pieces are in place, teach instcombine'sChris Lattner
2009-01-31make sure to set Changed=true when instcombine hacks on the code,Chris Lattner
2009-01-26Fixed optimization of combining two shuffles where the first shuffle inputsMon P Wang
2009-01-24testcase for PR3381.Torok Edwin
2009-01-24Make InstCombineStoreToCast handle aggregates more aggressively,Chris Lattner
2009-01-21Do not use host floating point types when emittingDale Johannesen
2009-01-21Disable on x86_64 until I figure out what's wrong.Dale Johannesen
2009-01-21Make special cases (0 inf nan) work for frem.Dale Johannesen
2009-01-20Calls to fmod, it turns out, are constant-folded byDale Johannesen
2009-01-19Move & restructure test per review.Dale Johannesen