summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2018-06-13 08:54:13 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2018-06-13 08:54:13 +0000
commit0f7f59f0737770fbf9393e602de731a3b413e8a5 (patch)
tree58393e138c8cb71379f718a4cb0bcc9fe0af03ea /llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
parent32e611d1a98ca59a77850e06df8b54bb6c582334 (diff)
downloadbcm5719-llvm-0f7f59f0737770fbf9393e602de731a3b413e8a5.tar.gz
bcm5719-llvm-0f7f59f0737770fbf9393e602de731a3b413e8a5.zip
[PowerPC] fix trivial typos in comment, NFC
llvm-svn: 334583
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCFrameLowering.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCFrameLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp b/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
index 55d740821d3..f1892067a9a 100644
--- a/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
@@ -1615,7 +1615,7 @@ void PPCFrameLowering::determineCalleeSaves(MachineFunction &MF,
}
// Make sure we don't explicitly spill r31, because, for example, we have
- // some inline asm which explicity clobbers it, when we otherwise have a
+ // some inline asm which explicitly clobbers it, when we otherwise have a
// frame pointer and are using r31's spill slot for the prologue/epilogue
// code. Same goes for the base pointer and the PIC base register.
if (needsFP(MF))
@@ -1864,7 +1864,7 @@ void PPCFrameLowering::processFunctionBeforeFrameFinalized(MachineFunction &MF,
}
if (HasVRSaveArea) {
- // Insert alignment padding, we need 16-byte alignment. Note: for postive
+ // Insert alignment padding, we need 16-byte alignment. Note: for positive
// number the alignment formula is : y = (x + (n-1)) & (~(n-1)). But since
// we are using negative number here (the stack grows downward). We should
// use formula : y = x & (~(n-1)). Where x is the size before aligning, n
OpenPOWER on IntegriCloud