diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2002-10-29 23:06:16 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2002-10-29 23:06:16 +0000 |
commit | a3bbcb5b664c1c851b87392119608901b2e1837c (patch) | |
tree | fa3515a4887a8d5ed3812607e7b23832d32d054c /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 81619b121c9a3ff32487343503ad80f2ffe48fc3 (diff) |
Fix spelling of `propagate'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r-- | lib/Transforms/Utils/SimplifyCFG.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 6b642360d6..08fe1c5638 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -11,7 +11,7 @@ #include <algorithm> #include <functional> -// PropogatePredecessors - This gets "Succ" ready to have the predecessors from +// PropagatePredecessors - This gets "Succ" ready to have the predecessors from // "BB". This is a little tricky because "Succ" has PHI nodes, which need to // have extra slots added to them to hold the merge edges from BB's // predecessors. This function returns true (failure) if the Succ BB already @@ -19,7 +19,7 @@ // // Assumption: Succ is the single successor for BB. // -static bool PropogatePredecessorsForPHIs(BasicBlock *BB, BasicBlock *Succ) { +static bool PropagatePredecessorsForPHIs(BasicBlock *BB, BasicBlock *Succ) { assert(*succ_begin(BB) == Succ && "Succ is not successor of BB!"); if (!isa<PHINode>(Succ->front())) @@ -112,7 +112,7 @@ bool SimplifyCFG(BasicBlock *BB) { // Be careful though, if this transformation fails (returns true) then // we cannot do this transformation! // - if (!PropogatePredecessorsForPHIs(BB, Succ)) { + if (!PropagatePredecessorsForPHIs(BB, Succ)) { //cerr << "Killing Trivial BB: \n" << BB; BB->replaceAllUsesWith(Succ); std::string OldName = BB->getName(); |