Add a new target independent COPY instruction and code to lower it.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 2 Jul 2010 22:29:50 +0000 (22:29 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 2 Jul 2010 22:29:50 +0000 (22:29 +0000)
commita4e1ba53ddedd08669886b2849926bb33facc198
treee18ec10ce3958c838ea1e5e98a9075e12c354081
parentf5cd8c51e3d09a2af32e03414e75d3b50f47d0aa
Add a new target independent COPY instruction and code to lower it.

The COPY instruction is intended to replace the target specific copy
instructions for virtual registers as well as the EXTRACT_SUBREG and
INSERT_SUBREG instructions in MachineFunctions. It won't we used in a selection
DAG.

COPY is lowered to native register copies by LowerSubregs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107529 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
include/llvm/Target/Target.td
include/llvm/Target/TargetOpcodes.h
lib/CodeGen/LowerSubregs.cpp
utils/TableGen/CodeGenTarget.cpp