mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-21 23:33:13 +01:00
Fixed the optimizer thing, since llvm PR 2800 is already fixed, users need to upgrade LLVM to latest svn.
This commit is contained in:
@@ -41,8 +41,7 @@ void llvmdc_optimize_module(Module* m, char lvl, bool doinline)
|
||||
pm.add(createIPConstantPropagationPass());
|
||||
pm.add(createDeadArgEliminationPass());
|
||||
pm.add(createInstructionCombiningPass());
|
||||
// this doesn't work, llvm PR 2800
|
||||
//pm.add(createCFGSimplificationPass());
|
||||
pm.add(createCFGSimplificationPass());
|
||||
pm.add(createPruneEHPass());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user