Skip to content

Commit 9752ff9

Browse files
committed
LLVMCodeBuilder: Don't print optimized IR
1 parent 0e92dc8 commit 9752ff9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/dev/engine/internal/llvmcodebuilder.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -400,12 +400,6 @@ std::shared_ptr<ExecutableCode> LLVMCodeBuilder::finalize()
400400
// Optimize
401401
optimize();
402402

403-
#ifdef PRINT_LLVM_IR
404-
std::cout << std::endl << "=== LLVM IR (" << m_module->getName().str() << ") ===" << std::endl;
405-
m_module->print(llvm::outs(), nullptr);
406-
std::cout << "==============" << std::endl << std::endl;
407-
#endif
408-
409403
return std::make_shared<LLVMExecutableCode>(std::move(m_module));
410404
}
411405

0 commit comments

Comments
 (0)