mirror of https://github.com/exaloop/codon
Update module opt
parent
2f3c7cc3d4
commit
68309c8980
|
@ -15,7 +15,7 @@ llvm::Expected<llvm::orc::ThreadSafeModule>
|
|||
Engine::optimizeModule(llvm::orc::ThreadSafeModule module,
|
||||
const llvm::orc::MaterializationResponsibility &R) {
|
||||
module.withModuleDo(
|
||||
[](llvm::Module &module) { ir::optimize(&module, /*debug=*/true); });
|
||||
[](llvm::Module &module) { ir::optimize(&module, /*debug=*/false); });
|
||||
return std::move(module);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue