aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2009-08-25Remove obsolete -f flags.Dan Gohman
2009-08-21Change getelementptr folding to use APInt instead of uint64_t forDan Gohman
2009-08-19Fix a bug in the over-index constant folding. When over-indexing anDan Gohman
2009-08-19Canonicalize indices in a constantexpr GEP. If Indices exceed theDan Gohman
2009-08-13When InstCombine simplifies a load -> extract element to gep -> load, placeMon P Wang
2009-08-12Make LLVM Assembly dramatically easier to read by aligning the comments,Dan Gohman
2009-08-12Transform -X/C to X/-C, implementing a README.txt entry.Dan Gohman
2009-08-12Optimize (x/C)*C to x if the division is exact.Dan Gohman
2009-08-11Optimize exact sdiv by a constant power of 2 to ashr.Dan Gohman
2009-08-11Don't assume that external global variables are aligned at their preferredDan Gohman
2009-08-03Add -disable-output. Thanks Bill!Dan Gohman
2009-08-03Add a new Constant::getIntegerValue helper function, and convert aDan Gohman
2009-07-28Teach instcombine to respect and preserve inbounds. Add inboundsDan Gohman
2009-07-23merge vector-casts-0.ll into vector-casts.llChris Lattner
2009-07-23Make some existing optimizations that would only trigger on scalarsChris Lattner
2009-07-23convert a test to filecheck format. This fixes an endemic problemChris Lattner
2009-07-23rename testChris Lattner
2009-07-21Add a testcase for PR2831.Dan Gohman
2009-07-20Revert the addition of hasNoPointerOverflow to GEPOperator.Dan Gohman
2009-07-18Canonicalize bitcasts between types like <1 x i64> and i64 to Eli Friedman
2009-07-18Back out 76300; apparently the preference is to canonicalize the other Eli Friedman
2009-07-18Add combine: X sdiv (1 << Y) -> X udiv (1 << Y) when X doesn't have the Eli Friedman
2009-07-18Canonicalize insert/extractelement from single-element vectors into Eli Friedman
2009-07-15Don't restrict the set of instructions where we try to constant-fold the Eli Friedman
2009-07-14Fix trivial todo in instcombine.Eli Friedman
2009-07-13PR4548: optimize zext+udiv+trunc to udiv.Eli Friedman
2009-07-13Fix bug in run-line.Eli Friedman
2009-07-13Canonicalize boolean +/- a constant to a select.Eli Friedman
2009-07-02do not try to analyze bitcasts from i64 to <2 x i32> in ComputedMaskedBits. ...Chris Lattner
2009-07-01Fix an instcombine abort on a scalar-to-vector bitcast. This fixes PR4487.Dan Gohman
2009-06-18Generalize the zext(trunc(t) & C) instcombine to work even withDan Gohman
2009-06-17Instcombine zext(trunc(x) & mask) to x&mask, even if the trunc hasDan Gohman
2009-06-17Correct an accidental duplication of the test (patch doesn't handle Eli Friedman
2009-06-17PR3439: Correct a silly mistake in the SimplifyDemandedUseBits code for Eli Friedman
2009-06-16Generalize a few more instcombines to be vector/scalar-independent.Dan Gohman
2009-06-16Testcase for r73506Chris Lattner
2009-06-15Support vector casts in more places, fixing a variety of assertionDan Gohman
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