aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMFrameInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/ARM/ARMFrameInfo.cpp')
-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;