aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-13 01:44:01 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-13 01:44:01 +0000
commite7de7e3574245fe4cdee3ea895c3aeabca04db63 (patch)
tree97e9522d54e1581f3f336b9b1383505b858dd9c1
parentbe3034c28893617d31e9ce7ed9ad2e128e92877b (diff)
downloadexternal_llvm-e7de7e3574245fe4cdee3ea895c3aeabca04db63.zip
external_llvm-e7de7e3574245fe4cdee3ea895c3aeabca04db63.tar.gz
external_llvm-e7de7e3574245fe4cdee3ea895c3aeabca04db63.tar.bz2
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56182 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMCodeEmitter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp
index 1484d16..ec585fb 100644
--- a/lib/Target/ARM/ARMCodeEmitter.cpp
+++ b/lib/Target/ARM/ARMCodeEmitter.cpp
@@ -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);