Fix comments.
authorChad Rosier <mcrosier@apple.com>
Sun, 13 Nov 2011 04:25:02 +0000 (04:25 +0000)
committerChad Rosier <mcrosier@apple.com>
Sun, 13 Nov 2011 04:25:02 +0000 (04:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144490 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMFastISel.cpp

index 25514254d942859a639a7164f00abcec89b1a3ab..88ebd19bdc4fac0925a504a847110730a30864fa 100644 (file)
@@ -874,7 +874,7 @@ void ARMFastISel::ARMSimplifyAddress(Address &Addr, EVT VT, bool useAM3) {
         // Integer loads/stores handle 12-bit offsets.
         needsLowering = ((Addr.Offset & 0xfff) != Addr.Offset);
       else
-        // ARM halfword and signed byte load/stores use +/-imm8 offsets.
+        // ARM halfword load/stores and signed byte loads use +/-imm8 offsets.
         // FIXME: Negative offsets require special handling.
         needsLowering = (Addr.Offset > 255 || Addr.Offset < 0);
       break;
@@ -932,7 +932,7 @@ void ARMFastISel::AddLoadStoreOperands(EVT VT, Address &Addr,
     // Now add the rest of the operands.
     MIB.addFrameIndex(FI);
 
-    // ARM halfword and signed byte load/stores need an additional operand.
+    // ARM halfword load/stores and signed byte loads need an additional operand.
     if (useAM3) MIB.addReg(0);
 
     MIB.addImm(Addr.Offset);
@@ -941,7 +941,7 @@ void ARMFastISel::AddLoadStoreOperands(EVT VT, Address &Addr,
     // Now add the rest of the operands.
     MIB.addReg(Addr.Base.Reg);
 
-    // ARM halfword and signed byte load/stores need an additional operand.
+    // ARM halfword load/stores and signed byte loads need an additional operand.
     if (useAM3) MIB.addReg(0);
 
     MIB.addImm(Addr.Offset);