mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-20 13:43:13 +01:00
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user