From b557846083c6c7c1b6a1acab5459b141c8ad57d6 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Thu, 7 Jun 2018 12:49:12 +0000 Subject: [PowerPC] fix trivial typos in comment, NFC llvm-svn: 334191 --- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp') diff --git a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index 333a880509c..de2c2289251 100644 --- a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp @@ -438,7 +438,7 @@ SDNode *PPCDAGToDAGISel::getGlobalBaseReg() { // a significant limitation. We should consider inserting this in the // block where it is used and then commoning this sequence up if it // appears in multiple places. - // Note: on ISA 3.0 cores, we can use lnia (addpcis) insteand of + // Note: on ISA 3.0 cores, we can use lnia (addpcis) instead of // MovePCtoLR8. MF->getInfo()->setShrinkWrapDisabled(true); GlobalBaseReg = RegInfo->createVirtualRegister(&PPC::G8RC_and_G8RC_NOX0RegClass); @@ -3402,7 +3402,7 @@ static bool allUsesExtend(SDValue Compare, SelectionDAG *CurDAG) { } /// Returns an equivalent of a SETCC node but with the result the same width as -/// the inputs. This can nalso be used for SELECT_CC if either the true or false +/// the inputs. This can also be used for SELECT_CC if either the true or false /// values is a power of two while the other is zero. SDValue IntegerCompareEliminator::getSETCCInGPR(SDValue Compare, SetccInGPROpts ConvOpts) { -- cgit v1.2.3