aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-05-16 07:57:57 +0000
committerMike Stump <mrs@apple.com>2009-05-16 07:57:57 +0000
commitf5408fe484495ee4efbdd709c8a2c2fdbbbdb328 (patch)
treeb09dd07e36daa3a9cb86a0c6c0ab33144deb0c20 /lib/CodeGen/CGExprAgg.cpp
parent390b4cc8b45a05612349269ef08faab3e4688f06 (diff)
Reflow some comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
-rw-r--r--lib/CodeGen/CGExprAgg.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp
index 6fc1988937..b216cf70a4 100644
--- a/lib/CodeGen/CGExprAgg.cpp
+++ b/lib/CodeGen/CGExprAgg.cpp
@@ -335,12 +335,11 @@ void AggExprEmitter::VisitInitListExpr(InitListExpr *E) {
// FIXME: Disabled while we figure out what to do about
// test/CodeGen/bitfield.c
//
- // If we can, prefer a copy from a global; this is a lot less
- // code for long globals, and it's easier for the current optimizers
- // to analyze.
- // FIXME: Should we really be doing this? Should we try to avoid
- // cases where we emit a global with a lot of zeros? Should
- // we try to avoid short globals?
+ // If we can, prefer a copy from a global; this is a lot less code for long
+ // globals, and it's easier for the current optimizers to analyze.
+ // FIXME: Should we really be doing this? Should we try to avoid cases where
+ // we emit a global with a lot of zeros? Should we try to avoid short
+ // globals?
if (E->isConstantInitializer(CGF.getContext(), 0)) {
llvm::Constant* C = CGF.CGM.EmitConstantExpr(E, &CGF);
llvm::GlobalVariable* GV =