From: Evan Cheng Date: Tue, 17 Jul 2007 01:52:05 +0000 (+0000) Subject: Temporarily set SROA threshold to 512. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a8b9a7b92468af001e517d68be22fe41ef4d15e1;p=oota-llvm.git Temporarily set SROA threshold to 512. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39950 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 4eca3084257..64b554cea4a 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -267,7 +267,8 @@ void AddStandardCompilePasses(PassManager &PM) { addPass(PM, createTailDuplicationPass()); // Simplify cfg by copying code addPass(PM, createInstructionCombiningPass()); // Cleanup for scalarrepl. addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs - addPass(PM, createScalarReplAggregatesPass()); // Break up aggregate allocas + // FIXME: Temporary! + addPass(PM, createScalarReplAggregatesPass(512)); // Break up aggregate allocas addPass(PM, createInstructionCombiningPass()); // Combine silly seq's addPass(PM, createCondPropagationPass()); // Propagate conditionals