OSDN Git Service

fix typos
authorAdrian Prantl <aprantl@apple.com>
Fri, 14 Sep 2018 16:12:14 +0000 (16:12 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 14 Sep 2018 16:12:14 +0000 (16:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342241 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/Support/FoldingSet.cpp

index 9ce7343..13d412c 100644 (file)
@@ -3959,7 +3959,7 @@ bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
     return false;
   }
 
-  LLVM_DEBUG(dbgs() << "Succesfully expanded node\n");
+  LLVM_DEBUG(dbgs() << "Successfully expanded node\n");
   ReplaceNode(Node, Results.data());
   return true;
 }
index cf9847f..ee69a64 100644 (file)
@@ -275,7 +275,7 @@ void FoldingSetBase::GrowBucketCount(unsigned NewBucketCount) {
 
   // 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;