Update module opt

pull/6/head
A. R. Shajii 2021-11-05 12:41:43 -04:00
parent 2f3c7cc3d4
commit 68309c8980
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}