summaryrefslogtreecommitdiffstats
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
commitf5d08c9ee4f39779090035d4fd80ae9d73a40b1b (patch)
tree465e694d862c15acd5e9c999c9c3a9e3c745bb8f
parent30e9dc81c80fda72d52d640dc90d8454cc309e90 (diff)
downloadbcm5719-llvm-f5d08c9ee4f39779090035d4fd80ae9d73a40b1b.tar.gz
bcm5719-llvm-f5d08c9ee4f39779090035d4fd80ae9d73a40b1b.zip
Disabling this code due to regression on test/CodeGen/bitfield.c. See
PR3152. llvm-svn: 60389
-rw-r--r--clang/lib/CodeGen/CGExprAgg.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp
index 39c3b499545..65f8a1a2e41 100644
--- a/clang/lib/CodeGen/CGExprAgg.cpp
+++ b/clang/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 =
OpenPOWER on IntegriCloud