diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-06-13 08:54:13 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-06-13 08:54:13 +0000 |
commit | 0f7f59f0737770fbf9393e602de731a3b413e8a5 (patch) | |
tree | 58393e138c8cb71379f718a4cb0bcc9fe0af03ea /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | 32e611d1a98ca59a77850e06df8b54bb6c582334 (diff) | |
download | bcm5719-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/PPCISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index b1157f2088c..f845f412130 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -309,7 +309,7 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM, // PowerPC does not have BSWAP, but we can use vector BSWAP instruction xxbrd // to speed up scalar BSWAP64. - // CTPOP or CTTZ were introduced in P8/P9 respectivelly + // CTPOP or CTTZ were introduced in P8/P9 respectively setOperationAction(ISD::BSWAP, MVT::i32 , Expand); if (Subtarget.isISA3_0()) { setOperationAction(ISD::BSWAP, MVT::i64 , Custom); @@ -4293,7 +4293,7 @@ static int CalculateTailCallSPDiff(SelectionDAG& DAG, bool isTailCall, PPCFunctionInfo *FI = DAG.getMachineFunction().getInfo<PPCFunctionInfo>(); unsigned CallerMinReservedArea = FI->getMinReservedArea(); int SPDiff = (int)CallerMinReservedArea - (int)ParamSize; - // Remember only if the new adjustement is bigger. + // Remember only if the new adjustment is bigger. if (SPDiff < FI->getTailCallSPDelta()) FI->setTailCallSPDelta(SPDiff); |