[llvm-commits] [llvm] r121153 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb.td

Jim Grosbach grosbach at apple.com
Tue Dec 7 09:48:24 PST 2010


Author: grosbach
Date: Tue Dec  7 11:48:24 2010
New Revision: 121153

URL: http://llvm.org/viewvc/llvm-project?rev=121153&view=rev
Log:
Encode the literal field for tCMPzi instruction.

Modified:
    llvm/trunk/lib/Target/ARM/ARMInstrThumb.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb.td?rev=121153&r1=121152&r2=121153&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb.td Tue Dec  7 11:48:24 2010
@@ -926,8 +926,9 @@
               T1General<{1,0,1,?,?}> {
   // A8.6.35
   bits<3> Rn;
+  bits<8> imm8;
   let Inst{10-8} = Rn;
-  let Inst{7-0}  = 0x00;
+  let Inst{7-0}  = imm8;
 }
 
 // CMP register





More information about the llvm-commits mailing list