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 | 2546415803443ab2ae642d39007b37936de32371 (patch) | |
tree | f739eda3fb6bab5c7b67abbb7fe16d9ea954439d /lib/Transforms/IPO | |
parent | 35b560267207be953e049a44d6d5b8806462426c (diff) | |
download | external_llvm-2546415803443ab2ae642d39007b37936de32371.zip external_llvm-2546415803443ab2ae642d39007b37936de32371.tar.gz external_llvm-2546415803443ab2ae642d39007b37936de32371.tar.bz2 |
Correct a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO')
-rw-r--r-- | lib/Transforms/IPO/GlobalOpt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/GlobalOpt.cpp b/lib/Transforms/IPO/GlobalOpt.cpp index 1da33e6..53aa03d 100644 --- a/lib/Transforms/IPO/GlobalOpt.cpp +++ b/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())) { |