mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 11:23:14 +01:00
Automated merge with http://hg.dsource.org/projects/ldc
This commit is contained in:
@@ -196,12 +196,6 @@ void Module::genobjfile(int multiobj)
|
||||
}
|
||||
}
|
||||
|
||||
// always run this pass to eliminate dead code that breaks debug info
|
||||
llvm::PassManager pm;
|
||||
pm.add(new llvm::TargetData(ir.module));
|
||||
pm.add(llvm::createCFGSimplificationPass());
|
||||
pm.run(*ir.module);
|
||||
|
||||
// run optimizer
|
||||
ldc_optimize_module(ir.module, global.params.optimizeLevel, global.params.llvmInline);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user