Disabling this code due to regression on test/CodeGen/bitfield.c. See

PR3152.

llvm-svn: 60389
This commit is contained in:
Eli Friedman 2008-12-02 01:17:45 +00:00
parent 30e9dc81c8
commit f5d08c9ee4
1 changed files with 5 additions and 1 deletions

View File

@ -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 =