[cfe-commits] r60389 - /cfe/trunk/lib/CodeGen/CGExprAgg.cpp

Eli Friedman eli.friedman at gmail.com
Mon Dec 1 17:17:45 PST 2008


Author: efriedma
Date: Mon Dec  1 19:17:45 2008
New Revision: 60389

URL: http://llvm.org/viewvc/llvm-project?rev=60389&view=rev
Log:
Disabling this code due to regression on test/CodeGen/bitfield.c.  See 
PR3152.


Modified:
    cfe/trunk/lib/CodeGen/CGExprAgg.cpp

Modified: cfe/trunk/lib/CodeGen/CGExprAgg.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprAgg.cpp?rev=60389&r1=60388&r2=60389&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGExprAgg.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExprAgg.cpp Mon Dec  1 19:17:45 2008
@@ -369,6 +369,10 @@
     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 @@
     CGF.EmitAggregateCopy(DestPtr, GV, E->getType());
     return;
   }
-
+#endif
   // Handle initialization of an array.
   if (E->getType()->isArrayType()) {
     const llvm::PointerType *APType =





More information about the cfe-commits mailing list