aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/ARMDecoderEmitter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-12-03 01:55:30 +0000
committerBill Wendling <isanbard@gmail.com>2010-12-03 01:55:30 +0000
commitb40a90597b0b03eb04a14a494a43dcc7f58ae5f8 (patch)
tree54da66d83c25e7a3151a1cebd0f9899774f9f30d /utils/TableGen/ARMDecoderEmitter.cpp
parent2dbdeee87a48d253c00851ca71c388c45423480d (diff)
Ignore decode table conflicts in the tMOVgpr2tgpr, tMOVgpr2gpr, and tMOVtgpr2gpr
instructions. They are handled as special moves, but encoded as a normal move. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/ARMDecoderEmitter.cpp')
-rw-r--r--utils/TableGen/ARMDecoderEmitter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/TableGen/ARMDecoderEmitter.cpp b/utils/TableGen/ARMDecoderEmitter.cpp
index 64e25c9ad8..22b2c03736 100644
--- a/utils/TableGen/ARMDecoderEmitter.cpp
+++ b/utils/TableGen/ARMDecoderEmitter.cpp
@@ -1731,6 +1731,13 @@ ARMDEBackend::populateInstruction(const CodeGenInstruction &CGI,
Name == "tSpill" || Name == "tLDRcp" || Name == "tRestore" ||
Name == "t2LEApcrelJT" || Name == "t2MOVCCi16")
return false;
+
+ // tMOVgpr2tgpr, tMOVgpr2gpr, and tMOVtgpr2gpr are used by the code
+ // generator for special kinds of moves, but are encoded the same. Safely
+ // ignore them here.
+ if (Name == "tMOVgpr2tgpr" || Name == "tMOVgpr2gpr" ||
+ Name == "tMOVtgpr2gpr")
+ return false;
}
// Dumps the instruction encoding format.