aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-05-20 21:01:22 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-05-20 21:01:22 +0000
commit82c89b9f3a9b88bb63ce13b09b4f27fbb72f66fc (patch)
tree3581663b73bf4260e00041af8eaf725e9f933959 /include/llvm/Transforms
parent1a1046b7bc7d0b8d9ed88e3565a8905e194a47ff (diff)
Hopefully, the final fix for `[Pp]ropogate'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/Scalar.h8
-rw-r--r--include/llvm/Transforms/Utils/Local.h8
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