[llvm] r334191 - [PowerPC] fix trivial typos in comment, NFC

Hiroshi Inoue via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 7 05:49:12 PDT 2018


Author: inouehrs
Date: Thu Jun  7 05:49:12 2018
New Revision: 334191

URL: http://llvm.org/viewvc/llvm-project?rev=334191&view=rev
Log:
[PowerPC] fix trivial typos in comment, NFC


Modified:
    llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp?rev=334191&r1=334190&r2=334191&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp Thu Jun  7 05:49:12 2018
@@ -438,7 +438,7 @@ SDNode *PPCDAGToDAGISel::getGlobalBaseRe
       // 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<PPCFunctionInfo>()->setShrinkWrapDisabled(true);
       GlobalBaseReg = RegInfo->createVirtualRegister(&PPC::G8RC_and_G8RC_NOX0RegClass);
@@ -3402,7 +3402,7 @@ static bool allUsesExtend(SDValue Compar
 }
 
 /// 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) {




More information about the llvm-commits mailing list