more fixes

This commit is contained in:
Philippe Tillet
2019-09-14 02:36:11 -04:00
parent eae02b99e5
commit 8ae779206f
5 changed files with 12 additions and 5 deletions

View File

@@ -229,7 +229,7 @@ std::unique_ptr<driver::module> function::make_bin(ir::module &module, driver::c
dce.run(module);
vectorize.run(module);
dce.run(module);
ir::print(module, std::cout);
// ir::print(module, std::cout);
// generate llvm code
llvm::LLVMContext ctx;
std::unique_ptr<llvm::Module> llvm(new llvm::Module(module.get_name(), ctx));