summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2018-09-14 16:12:14 +0000
committerAdrian Prantl <aprantl@apple.com>2018-09-14 16:12:14 +0000
commit86497ad2afd83a68c2931fb35e1d03a89c3b8952 (patch)
tree64d3a48e9e740c29ef90a0f09f891ab65f0d4efb
parentb51a70396e5d99bec354085f7cf96d127988f37b (diff)
downloadbcm5719-llvm-86497ad2afd83a68c2931fb35e1d03a89c3b8952.tar.gz
bcm5719-llvm-86497ad2afd83a68c2931fb35e1d03a89c3b8952.zip
fix typos
llvm-svn: 342241
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
-rw-r--r--llvm/lib/Support/FoldingSet.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 9ce7343c495..13d412cd7de 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -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;
}
diff --git a/llvm/lib/Support/FoldingSet.cpp b/llvm/lib/Support/FoldingSet.cpp
index cf9847faccd..ee69a64ac97 100644
--- a/llvm/lib/Support/FoldingSet.cpp
+++ b/llvm/lib/Support/FoldingSet.cpp
@@ -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;
OpenPOWER on IntegriCloud