[CODEGEN] Fixed bug in recoalesce_inst LLVM codegen
This commit is contained in:
@@ -241,6 +241,7 @@ std::unique_ptr<driver::module> function::make_bin(ir::module &module, driver::d
|
||||
dce.run(module);
|
||||
align.run(module);
|
||||
axes.run(module);
|
||||
// ir::print(module, std::cout);
|
||||
layouts.run(module);
|
||||
swizzle.run(module);
|
||||
liveness.run(module);
|
||||
@@ -248,7 +249,6 @@ std::unique_ptr<driver::module> function::make_bin(ir::module &module, driver::d
|
||||
if(allocation.allocated_size() > device->max_shared_memory())
|
||||
throw exception::out_of_shared_memory();
|
||||
barriers.run(module);
|
||||
// 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)
|
||||
|
Reference in New Issue
Block a user