[llvm] r214372 - 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:51 PDT 2014


Author: pete
Date: Wed Jul 30 20:43:51 2014
New Revision: 214372

URL: http://llvm.org/viewvc/llvm-project?rev=214372&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/ARM/ARMInstrInfo.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrInfo.td?rev=214372&r1=214371&r2=214372&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Wed Jul 30 20:43:51 2014
@@ -4117,7 +4117,7 @@ def UDIV : ADivA1I<0b011, (outs GPR:$Rd)
 //  Misc. Arithmetic Instructions.
 //
 
-def CLZ  : AMiscA1I<0b000010110, 0b0001, (outs GPR:$Rd), (ins GPR:$Rm),
+def CLZ  : AMiscA1I<0b00010110, 0b0001, (outs GPR:$Rd), (ins GPR:$Rm),
               IIC_iUNAr, "clz", "\t$Rd, $Rm",
               [(set GPR:$Rd, (ctlz GPR:$Rm))]>, Requires<[IsARM, HasV5T]>,
            Sched<[WriteALU]>;





More information about the llvm-commits mailing list