llvm-6502/lib/CodeGen/SelectionDAG
Chris Lattner 9d3a483a38 Don't copy regs that are only used in the entry block into a vreg. This
changes the code generated for:

short %test(short %A) {
  %B = xor short %A, -32768
  ret short %B
}

to:

_test:
        xori r2, r3, 32768
        xoris r2, r2, 65535
        extsh r3, r2
        blr

instead of:

_test:
        rlwinm r2, r3, 0, 16, 31
        xori r2, r3, 32768
        xoris r2, r2, 65535
        extsh r3, r2
        blr


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23109 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-26 22:49:59 +00:00
..
LegalizeDAG.cpp Change ConstantPoolSDNode to actually hold the Constant itself instead of 2005-08-26 17:15:30 +00:00
Makefile Change Library Names Not To Conflict With Others When Installed 2004-10-27 23:18:45 +00:00
ScheduleDAG.cpp Call the InsertAtEndOfBasicBlock hook if the usesCustomDAGSchedInserter 2005-08-26 20:54:47 +00:00
SelectionDAG.cpp Checking types here is not safe, because multiple types can map to the same 2005-08-26 21:39:15 +00:00
SelectionDAGISel.cpp Don't copy regs that are only used in the entry block into a vreg. This 2005-08-26 22:49:59 +00:00
SelectionDAGPrinter.cpp Change ConstantPoolSDNode to actually hold the Constant itself instead of 2005-08-26 17:15:30 +00:00
TargetLowering.cpp Adjust to new interface 2005-08-24 16:34:12 +00:00