summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix a crash that Andrew noticed, and add a pair of braces to unfconfuseNate Begeman2005-11-021-5/+5
* Fix a source of undefined behavior when dealing with 64-bit types. ThisChris Lattner2005-11-021-1/+1
* Codegen mul by negative power of two with a shift and negate.Chris Lattner2005-10-301-3/+13
* Fix DSE to not nuke dead stores unless they redundant store is the sameChris Lattner2005-10-271-1/+4
* Add a simple xform that is useful for bitfield operations.Chris Lattner2005-10-271-0/+9
* Clear a bit in this file that was causing a miscompilation of 178.galgel.Chris Lattner2005-10-251-1/+1
* BuildSDIV and BuildUDIV only work for i32/i64, but they don't check thatChris Lattner2005-10-221-10/+20
* add a case missing from the dag combiner that exposed the failure onChris Lattner2005-10-211-0/+3
* Fix a typo in the dag combiner, so that this can work on i64 targetsNate Begeman2005-10-211-3/+2
* Invert the TargetLowering flag that controls divide by consant expansion.Nate Begeman2005-10-211-10/+37
* Fix a couple bugs in the const div stuff where we'd generate MULHS/MULHUNate Begeman2005-10-201-3/+4
* don't use llabs with apparently VC++ doesn't haveChris Lattner2005-10-201-1/+1
* Move the target constant divide optimization up into the dag combiner, soNate Begeman2005-10-201-0/+263
* Fold (select C, load A, load B) -> load (select C, A, B). This happens quiteChris Lattner2005-10-181-7/+82
* Implement some feedback from Chris re: constant canonicalizationNate Begeman2005-10-181-39/+27
* fold fmul X, +2.0 -> fadd X, X;Nate Begeman2005-10-171-14/+17
* add a trivial foldChris Lattner2005-10-171-0/+4
* Fix this logic.Chris Lattner2005-10-151-1/+1
* Add a case we were missing that was causing us to fail CodeGen/PowerPC/rlwinm...Chris Lattner2005-10-151-0/+14
* fold sext_in_reg, sext_in_reg where both have the same VT. This wasNate Begeman2005-10-141-1/+1
* Relax the checking on zextload generation a bit, since as sabre pointed outNate Begeman2005-10-141-5/+49
* Fix the trunc(load) case, finally allowing crafty and povray to passChris Lattner2005-10-131-1/+2
* Fix some bugs in (sext (load x))Chris Lattner2005-10-131-1/+2
* Fix the remaining DAGCombiner issues pointed out by sabre. This should fixNate Begeman2005-10-131-16/+11
* Fix a minor bug in the dag combiner that broke pcompress2 and some otherChris Lattner2005-10-131-4/+3
* Move some Legalize functionality over to the DAGCombiner where it belongs.Nate Begeman2005-10-131-0/+74
* Fix a potential bug with two combine-to's back to back that chris pointedNate Begeman2005-10-121-4/+14
* More cool stuff for the dag combiner. We can now finally handle thingsNate Begeman2005-10-121-3/+22
* Fix a powerpc crash on CodeGen/Generic/llvm-ct-intrinsics.llChris Lattner2005-10-111-1/+1
* Add a canonicalization that got lost, fixing PowerPC/fold-li.ll:SUBChris Lattner2005-10-111-3/+5
* clean up some corner casesChris Lattner2005-10-101-2/+6
* Implement trivial DSE. If two stores are neighbors and store to the sameChris Lattner2005-10-101-0/+29
* Add support for CombineTo, allowing the dag combiner to replace nodes withChris Lattner2005-10-101-2/+56
* Teach the DAGCombiner several new tricks, teaching it how to turnNate Begeman2005-10-101-32/+46
* Fix commentChris Lattner2005-10-101-1/+1
* Add ISD::ADD to MaskedValueIsZeroChris Lattner2005-10-101-0/+8
* add a todo for something I noticedChris Lattner2005-10-091-0/+4
* (X & Y) & C == 0 if either X&C or Y&C are zeroChris Lattner2005-10-091-1/+6
* Lo and behold, the last bits of SelectionDAG.cpp have been moved over.Nate Begeman2005-10-081-6/+150
* implement CodeGen/PowerPC/div-2.ll:test2-4 by propagating zero bits throughChris Lattner2005-10-071-0/+18
* Turn sdivs into udivs when we can prove the sign bits are clear. ThisChris Lattner2005-10-071-0/+10
* Check in some more DAGCombiner piecesNate Begeman2005-10-051-23/+45
* implement visitBR_CC so that PowerPC/inverted-bool-compares.ll passesChris Lattner2005-10-051-2/+22
* Add a new HandleNode class, which is used to handle (haha) cases in theChris Lattner2005-10-051-5/+12
* Implement the code for PowerPC/inverted-bool-compares.ll, even though itChris Lattner2005-10-051-1/+16
* Fix a crash compiling Olden/tspChris Lattner2005-10-051-6/+4
* Add FP versions of the binary operators, keeping the int and fp worlds seperate.Chris Lattner2005-09-281-45/+98
* Stub out the rest of the DAG Combiner. Just need to fill in theNate Begeman2005-09-191-8/+104
* More DAG combining. Still need the branch instructions, and select_ccNate Begeman2005-09-161-5/+425
* Add a missing #include, patch courtesy of Baptiste Lepilleur.Chris Lattner2005-09-091-0/+1
OpenPOWER on IntegriCloud