aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/SCCP.cpp
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 /lib/Transforms/Scalar/SCCP.cpp
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 'lib/Transforms/Scalar/SCCP.cpp')
-rw-r--r--lib/Transforms/Scalar/SCCP.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp
index bddf0afe00..4463a7fc44 100644
--- a/lib/Transforms/Scalar/SCCP.cpp
+++ b/lib/Transforms/Scalar/SCCP.cpp
@@ -1,6 +1,6 @@
-//===- SCCP.cpp - Sparse Conditional Constant Propogation -----------------===//
+//===- SCCP.cpp - Sparse Conditional Constant Propagation -----------------===//
//
-// This file implements sparse conditional constant propogation and merging:
+// This file implements sparse conditional constant propagation and merging:
//
// Specifically, this:
// * Assumes values are constant unless proven otherwise
@@ -75,7 +75,7 @@ public:
//===----------------------------------------------------------------------===//
// SCCP Class
//
-// This class does all of the work of Sparse Conditional Constant Propogation.
+// This class does all of the work of Sparse Conditional Constant Propagation.
//
namespace {
class SCCP : public FunctionPass, public InstVisitor<SCCP> {
@@ -86,7 +86,7 @@ class SCCP : public FunctionPass, public InstVisitor<SCCP> {
std::vector<BasicBlock*> BBWorkList; // The BasicBlock work list
public:
- // runOnFunction - Run the Sparse Conditional Constant Propogation algorithm,
+ // runOnFunction - Run the Sparse Conditional Constant Propagation algorithm,
// and return true if the function was modified.
//
bool runOnFunction(Function &F);
@@ -239,7 +239,7 @@ Pass *createSCCPPass() {
// SCCP Class Implementation
-// runOnFunction() - Run the Sparse Conditional Constant Propogation algorithm,
+// runOnFunction() - Run the Sparse Conditional Constant Propagation algorithm,
// and return true if the function was modified.
//
bool SCCP::runOnFunction(Function &F) {