diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-12-03 01:55:30 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-12-03 01:55:30 +0000 |
commit | e38f1149fa920d07383725f7b7e3df4ce1cc7ec6 (patch) | |
tree | f08d2bbccf3e0d6c746935e37dfca091494b1a9b /llvm/utils/TableGen/ARMDecoderEmitter.cpp | |
parent | 979f74d1ddcff4c406668912ec6568bb69e4f222 (diff) | |
download | bcm5719-llvm-e38f1149fa920d07383725f7b7e3df4ce1cc7ec6.tar.gz bcm5719-llvm-e38f1149fa920d07383725f7b7e3df4ce1cc7ec6.zip |
Ignore decode table conflicts in the tMOVgpr2tgpr, tMOVgpr2gpr, and tMOVtgpr2gpr
instructions. They are handled as special moves, but encoded as a normal move.
llvm-svn: 120779
Diffstat (limited to 'llvm/utils/TableGen/ARMDecoderEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/ARMDecoderEmitter.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/ARMDecoderEmitter.cpp b/llvm/utils/TableGen/ARMDecoderEmitter.cpp index 64e25c9ad8c..22b2c037368 100644 --- a/llvm/utils/TableGen/ARMDecoderEmitter.cpp +++ b/llvm/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. |