[llvm-commits] [llvm] r119573 - /llvm/trunk/lib/Target/ARM/ARMCodeEmitter.cpp
Jim Grosbach
grosbach at apple.com
Wed Nov 17 13:57:51 PST 2010
Author: grosbach
Date: Wed Nov 17 15:57:51 2010
New Revision: 119573
URL: http://llvm.org/viewvc/llvm-project?rev=119573&view=rev
Log:
Fix comment typo.
Modified:
llvm/trunk/lib/Target/ARM/ARMCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMCodeEmitter.cpp?rev=119573&r1=119572&r2=119573&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMCodeEmitter.cpp Wed Nov 17 15:57:51 2010
@@ -677,7 +677,7 @@
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;
More information about the llvm-commits
mailing list