OSDN Git Service

Fix up some comments.
authorEric Christopher <echristo@apple.com>
Thu, 9 Dec 2010 01:57:45 +0000 (01:57 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 9 Dec 2010 01:57:45 +0000 (01:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121351 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMFrameInfo.cpp

index 7059c1b..98e0188 100644 (file)
@@ -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;