aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
AgeCommit message (Expand)Author
2011-09-06Add codegen support for vector select (in the IR this means a selectDuncan Sands
2011-08-19Roll back the rest of r126557. It's a hack that will break in some obscure ca...Benjamin Kramer
2011-08-12Revert r137310 because it does not optimize any code on ToTNadav Rotem
2011-08-11[AVX] When joining two XMM registers into a YMM register, make sure that theNadav Rotem
2011-07-25Make sure this DAGCombine actually returns an UNDEF of the correct type; PR10...Eli Friedman
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-07-14Add a dag combine pattern for folding C2-(A+C1) -> (C2-C1)-AEric Christopher
2011-07-07Add functions 'hasPredecessor' and 'hasPredecessorHelper' to SDNode. TheLang Hames
2011-06-29Revert a part of r126557 which could create unschedulable DAGs.Benjamin Kramer
2011-06-22Replace the existing forms of ConstantArray::get() with a single formJay Foad
2011-06-21Teach dag combine to match halfword byteswap patterns.Evan Cheng
2011-06-16Add a DAGCombine for (ext (binop (load x), cst)).Nick Lewycky
2011-06-15Enable the simplification of truncating-store after fixing the usage ofNadav Rotem
2011-06-14When pattern matching during instruction selection make sure shl x,1 is notChad Rosier
2011-06-14Disable trunc-store simplification on vectors.Nadav Rotem
2011-06-09Change this DAGCombine to build AND of SHR instead of SHR of AND; this matche...Eli Friedman
2011-05-23Revert 121907 (it causes llc crash) and apply original patch from PR9817.Devang Patel
2011-05-21Implement mulo x, 2 -> addo x, x in DAGCombiner.Benjamin Kramer
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