From 82c89b9f3a9b88bb63ce13b09b4f27fbb72f66fc Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Tue, 20 May 2003 21:01:22 +0000 Subject: Hopefully, the final fix for `[Pp]ropogate'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6251 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Scalar.h | 8 ++++---- include/llvm/Transforms/Utils/Local.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'include/llvm/Transforms') diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index e3a5e1b..b7db4a6 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 9d3507d..86cabec 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 -- cgit v1.1