[llvm] r342241 - fix typos

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 14 09:12:14 PDT 2018


Author: adrian
Date: Fri Sep 14 09:12:14 2018
New Revision: 342241

URL: http://llvm.org/viewvc/llvm-project?rev=342241&view=rev
Log:
fix typos

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    llvm/trunk/lib/Support/FoldingSet.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=342241&r1=342240&r2=342241&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Fri Sep 14 09:12:14 2018
@@ -3959,7 +3959,7 @@ bool SelectionDAGLegalize::ExpandNode(SD
     return false;
   }
 
-  LLVM_DEBUG(dbgs() << "Succesfully expanded node\n");
+  LLVM_DEBUG(dbgs() << "Successfully expanded node\n");
   ReplaceNode(Node, Results.data());
   return true;
 }

Modified: llvm/trunk/lib/Support/FoldingSet.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/FoldingSet.cpp?rev=342241&r1=342240&r2=342241&view=diff
==============================================================================
--- llvm/trunk/lib/Support/FoldingSet.cpp (original)
+++ llvm/trunk/lib/Support/FoldingSet.cpp Fri Sep 14 09:12:14 2018
@@ -275,7 +275,7 @@ void FoldingSetBase::GrowBucketCount(uns
 
   // Clear out new buckets.
   Buckets = AllocateBuckets(NewBucketCount);
-  // Set NumBuckets only if allocation of new buckets was succesful
+  // Set NumBuckets only if allocation of new buckets was successful.
   NumBuckets = NewBucketCount;
   NumNodes = 0;
 




More information about the llvm-commits mailing list