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
This commit is contained in:
Bill Wendling 2010-12-03 01:55:30 +00:00
parent 979f74d1dd
commit e38f1149fa
1 changed files with 7 additions and 0 deletions

View File

@ -1731,6 +1731,13 @@ ARMDEBackend::populateInstruction(const CodeGenInstruction &CGI,
Name == "tSpill" || Name == "tLDRcp" || Name == "tRestore" || Name == "tSpill" || Name == "tLDRcp" || Name == "tRestore" ||
Name == "t2LEApcrelJT" || Name == "t2MOVCCi16") Name == "t2LEApcrelJT" || Name == "t2MOVCCi16")
return false; 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. // Dumps the instruction encoding format.