Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3f57265

Browse files
committedFeb 8, 2025·
fix_list_iterators_incompatible
1 parent e417f6d commit 3f57265

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed
 

‎src/common/snippets/src/lowered/loop_manager.cpp

-9
Original file line numberDiff line numberDiff line change
@@ -358,15 +358,6 @@ size_t LinearIR::LoopManager::replace_with_new_loop(const LinearIR& linear_ir,
358358
for (auto expr_it = loop_begin_pos; expr_it != loop_end_pos; ++expr_it) {
359359
replace_loop_id(*expr_it, old_id, loop_id);
360360
}
361-
362-
const auto old_loop_info = this->get_loop_info(old_id);
363-
const auto old_loop_begin_pos = linear_ir.find(old_loop_info->get_entry_points().front().expr_port->get_expr());
364-
const auto old_loop_end_pos = linear_ir.find(old_loop_info->get_exit_points().back().expr_port->get_expr());
365-
// If new bounds are equal to old loop bounds, this means that old Loop is removed totally from LIR
366-
// In this case old loop info must be completely removed from loop manager
367-
if (loop_begin_pos == old_loop_begin_pos && loop_end_pos == old_loop_end_pos) {
368-
this->remove_loop_info(old_id);
369-
}
370361
return loop_id;
371362
}
372363

0 commit comments

Comments
 (0)
Please sign in to comment.