[llvm] r214373 - Fix bit initializer which was one bit too long, but worked so long as we silently dropped the leading 0

Pete Cooper peter_cooper at apple.com
Wed Jul 30 18:43:54 PDT 2014


Author: pete
Date: Wed Jul 30 20:43:54 2014
New Revision: 214373

URL: http://llvm.org/viewvc/llvm-project?rev=214373&view=rev
Log:
Fix bit initializer which was one bit too long, but worked so long as we silently dropped the leading 0

Modified:
    llvm/trunk/lib/Target/Mips/Mips32r6InstrFormats.td

Modified: llvm/trunk/lib/Target/Mips/Mips32r6InstrFormats.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Mips32r6InstrFormats.td?rev=214373&r1=214372&r2=214373&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/Mips32r6InstrFormats.td (original)
+++ llvm/trunk/lib/Target/Mips/Mips32r6InstrFormats.td Wed Jul 30 20:43:54 2014
@@ -403,7 +403,7 @@ class JMP_IDX_COMPACT_FM<bits<6> funct>
   bits<32> Inst;
 
   let Inst{31-26} = funct;
-  let Inst{25-21} = 0b000000;
+  let Inst{25-21} = 0b00000;
   let Inst{20-16} = rt;
   let Inst{15-0} = offset;
 }





More information about the llvm-commits mailing list