summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-12-09 01:57:45 +0000
committerEric Christopher <echristo@apple.com>2010-12-09 01:57:45 +0000
commit1a48c032bd7c240fc4c52aee6dad57f8043a77d9 (patch)
treea9468c4f4d0acc7226df3e048a26ca64e9cb7682 /lib
parentd7b3f5870d9d04351d9cd363d9d6af01482a2eb8 (diff)
downloadllvm-1a48c032bd7c240fc4c52aee6dad57f8043a77d9.tar.gz
llvm-1a48c032bd7c240fc4c52aee6dad57f8043a77d9.tar.bz2
llvm-1a48c032bd7c240fc4c52aee6dad57f8043a77d9.tar.xz
Fix up some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMFrameInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMFrameInfo.cpp b/lib/Target/ARM/ARMFrameInfo.cpp
index 7059c1b507..98e0188c3a 100644
--- a/lib/Target/ARM/ARMFrameInfo.cpp
+++ b/lib/Target/ARM/ARMFrameInfo.cpp
@@ -529,9 +529,9 @@ void ARMFrameInfo::emitPushInst(MachineBasicBlock &MBB,
if (isKill)
MBB.addLiveIn(Reg);
- // If NoGap is true, pop consecutive registers and then leave the rest
+ // If NoGap is true, push consecutive registers and then leave the rest
// for other instructions. e.g.
- // vpush {d8, d10, d11} -> vpush {d8}, vpop {d10, d11}
+ // vpush {d8, d10, d11} -> vpush {d8}, vpush {d10, d11}
if (NoGap && LastReg && LastReg != Reg-1)
break;
LastReg = Reg;