summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:57:28 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:57:28 +0000
commit8b2bd4ed47e819e042a49d21abbd8f6bcd143f79 (patch)
treeba3a478e91b08ac7ff56e4f216b2af0fb7bac92a /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parentd67697411af42b41073552b7ff73775ec6f9e6f2 (diff)
downloadbcm5719-llvm-8b2bd4ed47e819e042a49d21abbd8f6bcd143f79.tar.gz
bcm5719-llvm-8b2bd4ed47e819e042a49d21abbd8f6bcd143f79.zip
Fix spelling.
llvm-svn: 9027
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/SimplifyCFG.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
index 1d5e4ec8afb..305fbd85a26 100644
--- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -19,7 +19,7 @@
// have extra slots added to them to hold the merge edges from BB's
// predecessors, and BB itself might have had PHI nodes in it. This function
// returns true (failure) if the Succ BB already has a predecessor that is a
-// predecessor of BB and incoming PHI arguments would not be discernable.
+// predecessor of BB and incoming PHI arguments would not be discernible.
//
// Assumption: Succ is the single successor for BB.
//
@@ -269,10 +269,10 @@ bool SimplifyCFG(BasicBlock *BB) {
// Delete the unconditional branch from the predecessor...
OnlyPred->getInstList().pop_back();
- // Move all definitions in the succecessor to the predecessor...
+ // Move all definitions in the successor to the predecessor...
OnlyPred->getInstList().splice(OnlyPred->end(), BB->getInstList());
- // Make all PHI nodes that refered to BB now refer to Pred as their
+ // Make all PHI nodes that referred to BB now refer to Pred as their
// source...
BB->replaceAllUsesWith(OnlyPred);
OpenPOWER on IntegriCloud