summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-02 22:29:50 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-02 22:29:50 +0000
commit676a15bdf5068aba670b122ccc7445c84bb48b22 (patch)
tree1ade653737281134fb2c5543c78507a8fe3fd0d7 /llvm/utils/TableGen
parent248e64b5b854122695b36bf655c06a87c9b2020c (diff)
downloadbcm5719-llvm-676a15bdf5068aba670b122ccc7445c84bb48b22.tar.gz
bcm5719-llvm-676a15bdf5068aba670b122ccc7445c84bb48b22.zip
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. llvm-svn: 107529
Diffstat (limited to 'llvm/utils/TableGen')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp
index 72cea14ea6b..d8130fb36dd 100644
--- a/llvm/utils/TableGen/CodeGenTarget.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud