diff options
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 8 | ||||
-rw-r--r-- | include/llvm/Transforms/Utils/Local.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index e3a5e1b87c..b7db4a6442 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -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) // diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h index 9d3507db65..86cabec795 100644 --- a/include/llvm/Transforms/Utils/Local.h +++ b/include/llvm/Transforms/Utils/Local.h @@ -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 |