summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-07-08 23:57:07 +0000
committerEli Bendersky <eliben@google.com>2013-07-08 23:57:07 +0000
commit07b0e451ca0f73ea43d1393d15401f6dd18a195b (patch)
tree80fc572869dc32b06d9fd129005e4808d72ad35b
parent544c956b72e4ea78de4c8b096af7793838af975b (diff)
downloadbcm5719-llvm-07b0e451ca0f73ea43d1393d15401f6dd18a195b.tar.gz
bcm5719-llvm-07b0e451ca0f73ea43d1393d15401f6dd18a195b.zip
Fix comment
llvm-svn: 185888
-rw-r--r--llvm/lib/Transforms/IPO/GlobalOpt.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp
index a4de71b3ae6..f0b35c63973 100644
--- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud