summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
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
commit373086db75b284b43957b1c77a1272623969388b (patch)
tree4b66285679b2d8e153b915273fe12bb82e452d75 /llvm/lib/Transforms/Utils
parent9392c3ca743f0f85b912b0b4c8dd430105422d10 (diff)
downloadbcm5719-llvm-373086db75b284b43957b1c77a1272623969388b.tar.gz
bcm5719-llvm-373086db75b284b43957b1c77a1272623969388b.zip
Hopefully, the final fix for `[Pp]ropogate'.
llvm-svn: 6251
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index 8f67e111a78..0d15ab50559 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -10,13 +10,13 @@
#include "llvm/ConstantHandling.h"
//===----------------------------------------------------------------------===//
-// Local constant propogation...
+// Local constant propagation...
//
// ConstantFoldInstruction - If an instruction references constants, try to fold
// them together...
//
-bool doConstantPropogation(BasicBlock::iterator &II) {
+bool doConstantPropagation(BasicBlock::iterator &II) {
if (Constant *C = ConstantFoldInstruction(II)) {
// Replaces all of the uses of a variable with uses of the constant.
II->replaceAllUsesWith(C);
OpenPOWER on IntegriCloud