aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
AgeCommit message (Expand)Author
2011-05-17Misc. code cleanups.Dan Gohman
2011-05-11Fixes a bug in the DAGCombiner. LoadSDNodes have two values (data, chain).Nadav Rotem
2011-05-09Indent properly, no functionality change.Duncan Sands
2011-04-16PR9055: extend the fix to PR4050 (r70179) to apply to zext and anyext.Eli Friedman
2011-04-14Fix another instance of the DAG combiner not using the correct type for the R...Owen Anderson
2011-04-09have dag combine zap "store undef", which can be formed during call loweringChris Lattner
2011-04-02Add a RemoveFromWorklist method to DCI. This is needed to do some complicatedCameron Zwarich
2011-03-11Avoid replacing the value of a directly stored load with the stored value if ...Evan Cheng
2011-03-02Can't introduce floating-point immediate constants after legalization.Stuart Hastings
2011-02-27Fix typos in the comments.Nadav Rotem
2011-02-26Add some DAGCombines for (adde 0, 0, glue), which are useful to optimize lega...Benjamin Kramer
2011-02-25Allow targets to specify a the type of the RHS of a shift parameterized on th...Owen Anderson
2011-02-24Enable support for vector sext and trunc:Nadav Rotem
2011-02-20Fix 9267; Add vector zext support.Nadav Rotem
2011-02-16Swap VT and DebugLoc operands of getExtLoad() for consistency withStuart Hastings
2011-02-16Refactor zero folding slightly. Clean up todo.Eric Christopher
2011-02-16The change for PR9190 wasn't quite right. We need to avoid making theEric Christopher
2011-02-13Revisit my fix for PR9028: the issue is that DAGCombine was Chris Lattner
2011-02-12A fix for 9165.Nadav Rotem
2011-02-11SimplifySelectOps can only handle selects with a scalar condition. Add a checkNadav Rotem
2011-02-11Fix #9190Nadav Rotem
2011-02-02Given a pair of floating point load and store, if there are no other uses ofEvan Cheng
2011-01-31Fix bug where ReduceLoadWidth was creating illegal ZEXTLOAD instructions.Richard Osborne
2011-01-30Teach DAGCombine to fold fold (sra (trunc (sr x, c1)), c2) -> (trunc (sra x, ...Benjamin Kramer
2011-01-29Add the missing sub identity "A-(A-B) -> B" to DAGCombine.Benjamin Kramer
2011-01-10Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs a...Anton Korobeynikov
2010-12-22DAGCombine add (sext i1), X into sub X, (zext i1) if sext from i1 is illegal....Benjamin Kramer
2010-12-22Fix a bug in ReduceLoadWidth that wasn't handling extendingChris Lattner
2010-12-22more cleanups, move a check for "roundedness" earlier to rejectChris Lattner
2010-12-22reduce indentation and improve comments, no functionality change.Chris Lattner
2010-12-21Reapply 122353-122355 with fixes. 122354 was wrong;Dale Johannesen
2010-12-21Revert 122353-122355 for the moment, they broke stuff.Dale Johannesen
2010-12-21Add a new transform to DAGCombiner.Dale Johannesen
2010-12-21Get the type of a shift from the shift, not from its shiftDale Johannesen
2010-12-21Shift by the word size is invalid IR; don't create it.Dale Johannesen
2010-12-21fix some typosChris Lattner
2010-12-21rename MVT::Flag to MVT::Glue. "Flag" is a terrible name forChris Lattner
2010-12-20Cosmetic changes.Dale Johannesen
2010-12-17Fix a DAGCombiner crash when folding binary vector operations with constantBob Wilson
2010-12-17Add a transform to DAG Combiner. This improves theDale Johannesen
2010-12-15take care of some todos, transforming [us]mul_lohi into Chris Lattner
2010-12-15when transforming a MULHS into a wider MUL, there is no need to SRA theChris Lattner
2010-12-13Add a couple dag combines to transform mulhi/mullo into a wider multiplyChris Lattner
2010-12-0980-col fixups.Eric Christopher
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad
2010-11-28Fix a comment typo.Bob Wilson
2010-11-23Renaming ISD::BIT_CONVERT to ISD::BITCAST to better reflect the LLVM IR concept.Wesley Peck
2010-11-18Fix thinko: we must turn select(anyext, sext) into sext(select)Duncan Sands
2010-11-18The DAGCombiner was threading select over pairs of extending loads evenDuncan Sands
2010-11-09Fix DAGCombiner to avoid folding a sext-in-reg or similar through a shlDan Gohman