aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-12-02 01:17:45 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-12-02 01:17:45 +0000
commita385b3c9c442831fc6a9ec6e8823b2067bd65710 (patch)
treeaa7e4bd71c87db529d7345ddcb3f80e208fc0c29 /lib/CodeGen/CGExprAgg.cpp
parent26236e8b7507017fded05da3474d842e802a1679 (diff)
Disabling this code due to regression on test/CodeGen/bitfield.c. See
PR3152. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
-rw-r--r--lib/CodeGen/CGExprAgg.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp
index 39c3b49954..65f8a1a2e4 100644
--- a/lib/CodeGen/CGExprAgg.cpp
+++ b/lib/CodeGen/CGExprAgg.cpp
@@ -369,6 +369,10 @@ void AggExprEmitter::VisitInitListExpr(InitListExpr *E) {
return;
}
+#if 0
+ // 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.
@@ -384,7 +388,7 @@ void AggExprEmitter::VisitInitListExpr(InitListExpr *E) {
CGF.EmitAggregateCopy(DestPtr, GV, E->getType());
return;
}
-
+#endif
// Handle initialization of an array.
if (E->getType()->isArrayType()) {
const llvm::PointerType *APType =