[llvm-commits] [llvm] r144490 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp

Chad Rosier mcrosier at apple.com
Sat Nov 12 20:25:02 PST 2011


Author: mcrosier
Date: Sat Nov 12 22:25:02 2011
New Revision: 144490

URL: http://llvm.org/viewvc/llvm-project?rev=144490&view=rev
Log:
Fix comments.

Modified:
    llvm/trunk/lib/Target/ARM/ARMFastISel.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=144490&r1=144489&r2=144490&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Sat Nov 12 22:25:02 2011
@@ -874,7 +874,7 @@
         // 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 @@
     // 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 @@
     // 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);





More information about the llvm-commits mailing list