diff options
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprAgg.cpp | 11 |
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 = |
