From 944ccc5d6a844d6283c2176be2cb7f71d471aac5 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 13 Jan 2009 13:48:44 +0000 Subject: Correct a comment. llvm-svn: 62165 --- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib') 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(GS.StoredOnceValue)) if (isa(GV->getInitializer())) { -- cgit v1.2.3