Fix comment
authorEli Bendersky <eliben@google.com>
Mon, 8 Jul 2013 23:57:07 +0000 (23:57 +0000)
committerEli Bendersky <eliben@google.com>
Mon, 8 Jul 2013 23:57:07 +0000 (23:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185888 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/GlobalOpt.cpp

index a4de71b3ae66ea7ed4b48b8a5062ba9e98d6c6fc..f0b35c63973a42ef1a880974a2b6be1bd05d70e1 100644 (file)
@@ -1940,9 +1940,8 @@ bool GlobalOpt::ProcessInternalGlobal(GlobalVariable *GV,
                                 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.