aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
AgeCommit message (Expand)Author
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
2010-11-03Just return undef for invalid masks or elts, and since we're doing that,Eric Christopher
2010-11-03If we have an undef mask our Elt will be -1 for our access, handleEric Christopher
2010-11-03Fix DAGCombiner to avoid going into an infinite loop when itDan Gohman
2010-10-29Remove DAG combiner patch to fold vector splats. Instcombiner does it now.Bob Wilson
2010-10-28Teach the DAG combiner to fold a splat of a splat. Radar 8597790.Bob Wilson
2010-10-20Make CodeGen TBAA-aware.Dan Gohman
2010-10-04This DAG combine BRCOND transformation can look pass truncate of the operand:Evan Cheng
2010-10-01fix rdar://8494845 + PR8244 - a miscompile exposed by my patch in r101350Chris Lattner
2010-09-22A select between a constant and zero, when fed by a bit test, can be efficientlyOwen Anderson
2010-09-21Reimplement r114460 in target-independent DAGCombine rather than target-depen...Owen Anderson
2010-09-21update a bunch of code to use the MachinePointerInfo version of getStore.Chris Lattner
2010-09-21eliminate an old SelectionDAG::getTruncStore method, propagatingChris Lattner
2010-09-21propagate MachinePointerInfo through various uses of the oldChris Lattner