diff options
| author | Duncan Sands <baldrick@free.fr> | 2009-01-13 13:48:44 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2009-01-13 13:48:44 +0000 |
| commit | 944ccc5d6a844d6283c2176be2cb7f71d471aac5 (patch) | |
| tree | b204a52d005deddc08fb4b8608771df0a3af2622 /llvm/lib/Transforms/IPO/GlobalOpt.cpp | |
| parent | be40b7e3324be78e75d7c1c51cdda4bc1ad87cbb (diff) | |
| download | bcm5719-llvm-944ccc5d6a844d6283c2176be2cb7f71d471aac5.tar.gz bcm5719-llvm-944ccc5d6a844d6283c2176be2cb7f71d471aac5.zip | |
Correct a comment.
llvm-svn: 62165
Diffstat (limited to 'llvm/lib/Transforms/IPO/GlobalOpt.cpp')
| -rw-r--r-- | llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index 1da33e6c7f2..53aa03dab35 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -1715,7 +1715,7 @@ bool GlobalOpt::ProcessInternalGlobal(GlobalVariable *GV, } else if (GS.StoredType == GlobalStatus::isStoredOnce) { // If the initial value for the global was an undef value, and if only // one other value was stored into it, we can just change the - // initializer to be an undef value, then delete all stores to the + // initializer to be the stored value, then delete all stores to the // global. This allows us to mark it constant. if (Constant *SOVConstant = dyn_cast<Constant>(GS.StoredOnceValue)) if (isa<UndefValue>(GV->getInitializer())) { |

