aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
AgeCommit message (Expand)Author
2005-10-22BuildSDIV and BuildUDIV only work for i32/i64, but they don't check thatChris Lattner
2005-10-21add a case missing from the dag combiner that exposed the failure onChris Lattner
2005-10-21Fix a typo in the dag combiner, so that this can work on i64 targetsNate Begeman
2005-10-21Invert the TargetLowering flag that controls divide by consant expansion.Nate Begeman
2005-10-20Fix a couple bugs in the const div stuff where we'd generate MULHS/MULHUNate Begeman
2005-10-20don't use llabs with apparently VC++ doesn't haveChris Lattner
2005-10-20Move the target constant divide optimization up into the dag combiner, soNate Begeman
2005-10-18Fold (select C, load A, load B) -> load (select C, A, B). This happens quiteChris Lattner
2005-10-18Implement some feedback from Chris re: constant canonicalizationNate Begeman
2005-10-17fold fmul X, +2.0 -> fadd X, X;Nate Begeman
2005-10-17add a trivial foldChris Lattner
2005-10-15Fix this logic.Chris Lattner
2005-10-15Add a case we were missing that was causing us to fail CodeGen/PowerPC/rlwinm...Chris Lattner
2005-10-14fold sext_in_reg, sext_in_reg where both have the same VT. This wasNate Begeman
2005-10-14Relax the checking on zextload generation a bit, since as sabre pointed outNate Begeman
2005-10-13Fix the trunc(load) case, finally allowing crafty and povray to passChris Lattner
2005-10-13Fix some bugs in (sext (load x))Chris Lattner
2005-10-13Fix the remaining DAGCombiner issues pointed out by sabre. This should fixNate Begeman
2005-10-13Fix a minor bug in the dag combiner that broke pcompress2 and some otherChris Lattner
2005-10-13Move some Legalize functionality over to the DAGCombiner where it belongs.Nate Begeman
2005-10-12Fix a potential bug with two combine-to's back to back that chris pointedNate Begeman
2005-10-12More cool stuff for the dag combiner. We can now finally handle thingsNate Begeman
2005-10-11Fix a powerpc crash on CodeGen/Generic/llvm-ct-intrinsics.llChris Lattner
2005-10-11Add a canonicalization that got lost, fixing PowerPC/fold-li.ll:SUBChris Lattner
2005-10-10clean up some corner casesChris Lattner
2005-10-10Implement trivial DSE. If two stores are neighbors and store to the sameChris Lattner
2005-10-10Add support for CombineTo, allowing the dag combiner to replace nodes withChris Lattner
2005-10-10Teach the DAGCombiner several new tricks, teaching it how to turnNate Begeman
2005-10-10Fix commentChris Lattner
2005-10-10Add ISD::ADD to MaskedValueIsZeroChris Lattner
2005-10-09add a todo for something I noticedChris Lattner
2005-10-09(X & Y) & C == 0 if either X&C or Y&C are zeroChris Lattner
2005-10-08Lo and behold, the last bits of SelectionDAG.cpp have been moved over.Nate Begeman
2005-10-07implement CodeGen/PowerPC/div-2.ll:test2-4 by propagating zero bits throughChris Lattner
2005-10-07Turn sdivs into udivs when we can prove the sign bits are clear. ThisChris Lattner
2005-10-05Check in some more DAGCombiner piecesNate Begeman
2005-10-05implement visitBR_CC so that PowerPC/inverted-bool-compares.ll passesChris Lattner
2005-10-05Add a new HandleNode class, which is used to handle (haha) cases in theChris Lattner
2005-10-05Implement the code for PowerPC/inverted-bool-compares.ll, even though itChris Lattner
2005-10-05Fix a crash compiling Olden/tspChris Lattner
2005-09-28Add FP versions of the binary operators, keeping the int and fp worlds seperate.Chris Lattner
2005-09-19Stub out the rest of the DAG Combiner. Just need to fill in theNate Begeman
2005-09-16More DAG combining. Still need the branch instructions, and select_ccNate Begeman
2005-09-09Add a missing #include, patch courtesy of Baptiste Lepilleur.Chris Lattner
2005-09-09Last round of 2-node folds from SD.cpp. Will move on to 3 node ops suchNate Begeman
2005-09-08Move yet more folds over to the dag combiner from sd.cppNate Begeman
2005-09-07Another round of dag combiner changes. This fixes some missing XOR foldsNate Begeman
2005-09-07Implement a common missing fold, (add (add x, c1), c2) -> (add x, c1+c2).Nate Begeman
2005-09-07Add an option to the DAG Combiner to enable it for beta runs, and turn onNate Begeman
2005-09-06Next round of DAGCombiner changes. This version now passes all the testsNate Begeman