diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-06-07 12:49:12 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-06-07 12:49:12 +0000 |
commit | b557846083c6c7c1b6a1acab5459b141c8ad57d6 (patch) | |
tree | 5ffdee78e2c65adb1d6ea978dc4e369221ef74f3 /llvm/lib | |
parent | 6938969223933cfb585488cb619bc96bee1f2a45 (diff) | |
download | bcm5719-llvm-b557846083c6c7c1b6a1acab5459b141c8ad57d6.tar.gz bcm5719-llvm-b557846083c6c7c1b6a1acab5459b141c8ad57d6.zip |
[PowerPC] fix trivial typos in comment, NFC
llvm-svn: 334191
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<PPCFunctionInfo>()->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) { |