* Add -functionattrs to default pass list so -dgc2stack is more effective

when callees aren't inlined. This should also improve various standard LLVM
  optimizations.
* Comment out some verbose logging.
This commit is contained in:
Frits van Bommel
2009-05-28 00:07:21 +02:00
parent 1ec75f0536
commit 6619190ba5
2 changed files with 2 additions and 1 deletions

View File

@@ -119,6 +119,7 @@ static void addPassesForOptLevel(PassManager& pm) {
addPass(pm, createInstructionCombiningPass());
addPass(pm, createCFGSimplificationPass());
addPass(pm, createPruneEHPass());
addPass(pm, createFunctionAttrsPass());
#ifdef USE_METADATA
if (!disableLangSpecificPasses && !disableGCToStack)