diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-11-13 04:25:02 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-11-13 04:25:02 +0000 |
commit | 5196efdf363f22d468b1eee23da8f48d2b04d268 (patch) | |
tree | c591e25f989c47ef992975894759bb7fcd05f43c /llvm/lib/Target/ARM/ARMFastISel.cpp | |
parent | 2fc93eabf7e132abd51d0ea0ad599beb3fa44334 (diff) | |
download | bcm5719-llvm-5196efdf363f22d468b1eee23da8f48d2b04d268.tar.gz bcm5719-llvm-5196efdf363f22d468b1eee23da8f48d2b04d268.zip |
Fix comments.
llvm-svn: 144490
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 25514254d94..88ebd19bdc4 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -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); |