[llvm] r185888 - Fix comment
Eli Bendersky
eliben at google.com
Mon Jul 8 16:57:07 PDT 2013
Author: eliben
Date: Mon Jul 8 18:57:07 2013
New Revision: 185888
URL: http://llvm.org/viewvc/llvm-project?rev=185888&view=rev
Log:
Fix comment
Modified:
llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp
Modified: llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp?rev=185888&r1=185887&r2=185888&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp Mon Jul 8 18:57:07 2013
@@ -1940,9 +1940,8 @@ bool GlobalOpt::ProcessInternalGlobal(Gl
const SmallPtrSet<const PHINode*, 16> &PHIUsers,
const GlobalStatus &GS) {
// If this is a first class global and has only one accessing function
- // and this function is main (which we know is not recursive we can make
- // this global a local variable) we replace the global with a local alloca
- // in this function.
+ // and this function is main (which we know is not recursive), we replace
+ // the global with a local alloca in this function.
//
// NOTE: It doesn't make sense to promote non single-value types since we
// are just replacing static memory to stack memory.
More information about the llvm-commits
mailing list