diff options
author | Eli Bendersky <eliben@google.com> | 2013-07-08 23:57:07 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-07-08 23:57:07 +0000 |
commit | 201cdb10049126ea740e47f1dab01612a93a5698 (patch) | |
tree | 9be9ea0918d000f59c7729a66337e6f4a035cc4b /lib/Transforms/IPO/GlobalOpt.cpp | |
parent | f564efa59103f101e08c4016c9f6d78967b4960c (diff) | |
download | external_llvm-201cdb10049126ea740e47f1dab01612a93a5698.zip external_llvm-201cdb10049126ea740e47f1dab01612a93a5698.tar.gz external_llvm-201cdb10049126ea740e47f1dab01612a93a5698.tar.bz2 |
Fix comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/GlobalOpt.cpp')
-rw-r--r-- | lib/Transforms/IPO/GlobalOpt.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/IPO/GlobalOpt.cpp b/lib/Transforms/IPO/GlobalOpt.cpp index a4de71b..f0b35c6 100644 --- a/lib/Transforms/IPO/GlobalOpt.cpp +++ b/lib/Transforms/IPO/GlobalOpt.cpp @@ -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. |