llvm-6502/lib/CodeGen/SelectionDAG
Chris Lattner 5f0c658aa4 Just like we use the RHS of an AND to simplify the LHS, use the LHS to
simplify the RHS.  This allows for the elimination of many thousands of
ands from multisource, and compiles CodeGen/PowerPC/and-elim.ll:test2
into this:

_test2:
        srwi r2, r3, 1
        xori r3, r2, 40961
        blr

instead of this:

_test2:
        rlwinm r2, r3, 31, 17, 31
        xori r2, r2, 40961
        rlwinm r3, r2, 0, 16, 31
        blr


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26388 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-27 00:22:28 +00:00
..
DAGCombiner.cpp Fix a problem Nate and Duraid reported where simplifying nodes can cause 2006-02-20 06:51:04 +00:00
LegalizeDAG.cpp Fix a problem on itanium with memset. The value to set has been promoted to 2006-02-20 06:38:35 +00:00
Makefile Change Library Names Not To Conflict With Others When Installed 2004-10-27 23:18:45 +00:00
ScheduleDAG.cpp Added an offset field to ConstantPoolSDNode. 2006-02-25 09:54:52 +00:00
ScheduleDAGList.cpp make -debug output less newliney 2006-02-02 00:38:08 +00:00
ScheduleDAGSimple.cpp Fix VC++ compilation error. 2006-01-24 04:43:17 +00:00
SelectionDAG.cpp Print ConstantPoolSDNode offset field. 2006-02-26 08:36:57 +00:00
SelectionDAGISel.cpp Get VC++ building again. 2006-02-24 02:52:40 +00:00
SelectionDAGPrinter.cpp Added an index field to GlobalAddressSDNode so it can represent X+12, etc. 2005-11-30 02:04:11 +00:00
TargetLowering.cpp Just like we use the RHS of an AND to simplify the LHS, use the LHS to 2006-02-27 00:22:28 +00:00