Add a new TargetInstrInfo MachineInstr opcode, COPY_TO_SUBCLASS.
authorDan Gohman <gohman@apple.com>
Mon, 13 Apr 2009 15:38:05 +0000 (15:38 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 13 Apr 2009 15:38:05 +0000 (15:38 +0000)
commitf8c7394781f7cf27ac52ca087e289436d36844da
treeedffc35fe9d9eb709e5582e809b3ad24363847fa
parent8433df36fb9566a00e643a6cb8f5e77af453ea81
Add a new TargetInstrInfo MachineInstr opcode, COPY_TO_SUBCLASS.
This will be used to replace things like X86's MOV32to32_.

Enhance ScheduleDAGSDNodesEmit to be more flexible and robust
in the presense of subregister superclasses and subclasses. It
can now cope with the definition of a virtual register being in
a subclass of a use.

Re-introduce the code for recording register superreg classes and
subreg classes. This is needed because when subreg extracts and
inserts get coalesced away, the virtual registers are left in
the correct subclass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68961 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/Target.td
include/llvm/Target/TargetInstrInfo.h
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodesEmit.cpp
utils/TableGen/CodeEmitterGen.cpp
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/DAGISelEmitter.cpp
utils/TableGen/InstrInfoEmitter.cpp
utils/TableGen/RegisterInfoEmitter.cpp