diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-20 21:01:22 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-20 21:01:22 +0000 |
commit | 82c89b9f3a9b88bb63ce13b09b4f27fbb72f66fc (patch) | |
tree | 3581663b73bf4260e00041af8eaf725e9f933959 /lib/Transforms/Utils/Local.cpp | |
parent | 1a1046b7bc7d0b8d9ed88e3565a8905e194a47ff (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/Utils/Local.cpp')
-rw-r--r-- | lib/Transforms/Utils/Local.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 8f67e111a7..0d15ab5055 100644 --- a/lib/Transforms/Utils/Local.cpp +++ b/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); |