From a3bbcb5b664c1c851b87392119608901b2e1837c Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Tue, 29 Oct 2002 23:06:16 +0000 Subject: Fix spelling of `propagate'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4423 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/SimplifyCFG.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp') 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 #include -// 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(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(); -- cgit v1.2.3-18-g5258