[CODEGEN] Fixed bug that caused missing recoalescing for some transpose
operations
This commit is contained in:
committed by
Philippe Tillet
parent
0c5bd7563a
commit
0516ea96d0
@@ -109,8 +109,9 @@ void coalesce::run(ir::module &mod) {
|
||||
// extract leading axes
|
||||
std::map<int, std::vector<ir::io_inst*>> axes;
|
||||
for(ir::io_inst *i: io){
|
||||
if(i->get_pointer_operand()->get_type()->get_tile_ranks1() == layout_->get(id)->get_rank())
|
||||
if(i->get_pointer_operand()->get_type()->get_tile_rank() == layout_->get(id)->get_rank()){
|
||||
extract_ld(i, axes);
|
||||
}
|
||||
}
|
||||
// update list of values to rematerialize
|
||||
if(axes.empty())
|
||||
|
Reference in New Issue
Block a user