[llvm-commits] [llvm] r160465 - /llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp

Richard Trieu rtrieu at google.com
Wed Jul 18 16:04:22 PDT 2012


Author: rtrieu
Date: Wed Jul 18 18:04:22 2012
New Revision: 160465

URL: http://llvm.org/viewvc/llvm-project?rev=160465&view=rev
Log:
Move around some enum elements so that lastMRM corrects gets assigned 56, which
is one more that MRM_DF which is 55.  Previously, it held value 45, the same
as MRM_D0.

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

Modified: llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp?rev=160465&r1=160464&r2=160465&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp (original)
+++ llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp Wed Jul 18 18:04:22 2012
@@ -62,11 +62,11 @@
     MRM0m = 24, MRM1m = 25, MRM2m = 26, MRM3m = 27,
     MRM4m = 28, MRM5m = 29, MRM6m = 30, MRM7m = 31,
     MRMInitReg  = 32,
+    RawFrmImm8  = 43,
+    RawFrmImm16 = 44,
 #define MAP(from, to) MRM_##from = to,
     MRM_MAPPING
 #undef MAP
-    RawFrmImm8  = 43,
-    RawFrmImm16 = 44,
     lastMRM
   };
   





More information about the llvm-commits mailing list