Hopefully, the final fix for `[Pp]ropogate'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman
2003-05-20 21:01:22 +00:00
parent 1a1046b7bc
commit 82c89b9f3a
12 changed files with 32 additions and 32 deletions

View File

@ -15,14 +15,14 @@ class TerminatorInst;
//===----------------------------------------------------------------------===//
//
// Constant Propogation Pass - A worklist driven constant propogation pass
// Constant Propagation Pass - A worklist driven constant propagation pass
//
Pass *createConstantPropogationPass();
Pass *createConstantPropagationPass();
//===----------------------------------------------------------------------===//
//
// Sparse Conditional Constant Propogation Pass
// Sparse Conditional Constant Propagation Pass
//
Pass *createSCCPPass();
@ -152,7 +152,7 @@ Pass *createPromoteMemoryToRegister();
//===----------------------------------------------------------------------===//
//
// This pass reassociates commutative expressions in an order that is designed
// to promote better constant propogation, GCSE, LICM, PRE...
// to promote better constant propagation, GCSE, LICM, PRE...
//
// For example: 4 + (x + 5) -> x + (4 + 5)
//

View File

@ -12,13 +12,13 @@
class Pass;
//===----------------------------------------------------------------------===//
// Local constant propogation...
// Local constant propagation...
//
/// doConstantPropogation - Constant prop a specific instruction. Returns true
/// and potentially moves the iterator if constant propogation was performed.
/// doConstantPropagation - Constant prop a specific instruction. Returns true
/// and potentially moves the iterator if constant propagation was performed.
///
bool doConstantPropogation(BasicBlock::iterator &I);
bool doConstantPropagation(BasicBlock::iterator &I);
/// ConstantFoldTerminator - If a terminator instruction is predicated on a
/// constant value, convert it into an unconditional branch to the constant