Typo.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 13 Sep 2008 01:44:01 +0000 (01:44 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 13 Sep 2008 01:44:01 +0000 (01:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56182 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMCodeEmitter.cpp

index 1484d165e45400faf52c4ecd5ab611a7f2135ee2..ec585fb85555e7b8e408f0694437b5872c0fdf98 100644 (file)
@@ -408,9 +408,9 @@ unsigned ARMCodeEmitter::getAddrMode2InstrBinary(const MachineInstr &MI,
   const MachineOperand &MO2 = MI.getOperand(2);
   const MachineOperand &MO3 = MI.getOperand(3);
 
-  // Set bit U(23) according to signal of immed value (positive or negative).
+  // Set bit U(23) according to sign of immed value (positive or negative).
   Binary |= ((ARM_AM::getAM2Op(MO3.getImm()) == ARM_AM::add ? 1 : 0) <<
-            ARMII::U_BitShift);
+             ARMII::U_BitShift);
   if (!MO2.getReg()) { // is immediate
     if (ARM_AM::getAM2Offset(MO3.getImm()))
       // Set the value of offset_12 field
@@ -446,7 +446,7 @@ unsigned ARMCodeEmitter::getAddrMode3InstrBinary(const MachineInstr &MI,
   const MachineOperand &MO2 = MI.getOperand(2);
   const MachineOperand &MO3 = MI.getOperand(3);
 
-  // Set bit U(23) according to signal of immed value (positive or negative)
+  // Set bit U(23) according to sign of immed value (positive or negative)
   Binary |= ((ARM_AM::getAM2Op(MO3.getImm()) == ARM_AM::add ? 1 : 0) <<
              ARMII::U_BitShift);