diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-02 22:29:50 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-02 22:29:50 +0000 |
| commit | 6f754853956e1dc90236b64ffc5c5d00aea6da10 (patch) | |
| tree | e18ec10ce3958c838ea1e5e98a9075e12c354081 /utils/TableGen/CodeGenTarget.cpp | |
| parent | 664feccdd8ba3bce830c6c5f335b8d9f1cf2c542 (diff) | |
| download | external_llvm-6f754853956e1dc90236b64ffc5c5d00aea6da10.zip external_llvm-6f754853956e1dc90236b64ffc5c5d00aea6da10.tar.gz external_llvm-6f754853956e1dc90236b64ffc5c5d00aea6da10.tar.bz2 | |
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
Diffstat (limited to 'utils/TableGen/CodeGenTarget.cpp')
| -rw-r--r-- | utils/TableGen/CodeGenTarget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index 72cea14..d8130fb 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -344,6 +344,7 @@ void CodeGenTarget::ComputeInstrsByEnum() const { "COPY_TO_REGCLASS", "DBG_VALUE", "REG_SEQUENCE", + "COPY", 0 }; const DenseMap<const Record*, CodeGenInstruction*> &Insts = getInstructions(); |
