Fix comment typo.
authorJim Grosbach <grosbach@apple.com>
Wed, 17 Nov 2010 21:57:51 +0000 (21:57 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 17 Nov 2010 21:57:51 +0000 (21:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119573 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMCodeEmitter.cpp

index ed3ebb7716232983a6ca3db1fc5fe36c495cfc6e..01ca22cfbcf55ff6c9eae322a4913735c9fd9d41 100644 (file)
@@ -677,7 +677,7 @@ void ARMCodeEmitter::emitLEApcrelJTInstruction(const MachineInstr &MI) {
   const TargetInstrDesc &TID = MI.getDesc();
 
   // Emit the 'add' instruction.
-  unsigned Binary = 0x4 << 21;  // add: Insts{24-31} = 0b0100
+  unsigned Binary = 0x4 << 21;  // add: Insts{24-21} = 0b0100
 
   // Set the conditional execution predicate
   Binary |= II->getPredicate(&MI) << ARMII::CondShift;