[RUNTIME] Disable error on spills

This commit is contained in:
Philippe Tillet
2021-01-14 20:33:34 -05:00
parent 3b36a1e60c
commit 376c876eb8
2 changed files with 9 additions and 11 deletions

View File

@@ -251,8 +251,8 @@ std::unique_ptr<driver::module> function::make_bin(ir::module &module, driver::d
// ir::print(module, std::cout);
isel.visit(module, *llvm);
std::unique_ptr<driver::module> res(driver::module::create(device, std::move(llvm)));
if(res->spilled() > 256)
throw exception::out_of_registers();
// if(res->spilled() > 256)
// throw exception::out_of_registers();
return res;
}