[codegen] [selection] everything is now implemented with visitor

This commit is contained in:
Philippe Tillet
2019-10-15 21:53:23 -04:00
parent 1b5b76b629
commit 4bfe998cc8
6 changed files with 232 additions and 165 deletions

View File

@@ -242,11 +242,6 @@ std::unique_ptr<driver::module> function::make_bin(ir::module &module, driver::c
if(allocation.allocated_size() > context->device()->max_shared_memory())
return std::unique_ptr<driver::module>();
barriers.run(module);
dce.run(module);
align.run(module);
axes.run(module);
layouts.run(module);
liveness.run(module);
// ir::print(module, std::cout);
selection.run(module, *llvm);
// return binary