[llvm-commits] [llvm] r120779 - /llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp

Bill Wendling isanbard at gmail.com
Thu Dec 2 17:55:30 PST 2010


Author: void
Date: Thu Dec  2 19:55:30 2010
New Revision: 120779

URL: http://llvm.org/viewvc/llvm-project?rev=120779&view=rev
Log:
Ignore decode table conflicts in the tMOVgpr2tgpr, tMOVgpr2gpr, and tMOVtgpr2gpr
instructions. They are handled as special moves, but encoded as a normal move.

Modified:
    llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp

Modified: llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp?rev=120779&r1=120778&r2=120779&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp Thu Dec  2 19:55:30 2010
@@ -1731,6 +1731,13 @@
         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.





More information about the llvm-commits mailing list