From 0f7f59f0737770fbf9393e602de731a3b413e8a5 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Wed, 13 Jun 2018 08:54:13 +0000 Subject: [PowerPC] fix trivial typos in comment, NFC llvm-svn: 334583 --- llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp') 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(); 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); -- cgit v1.2.3