Skip to content

Commit

Permalink
Update src/tir/transforms/plan_update_buffer_allocation_location.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Ruihang Lai <[email protected]>
  • Loading branch information
junrushao and MasterJH5574 authored Aug 26, 2021
1 parent cb7d805 commit 64f225c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class BufferAllocationLocator : public StmtExprMutator {
const Var& target_var = match_buffer->buffer->data;
buffer_data_to_buffer_.erase(target_var);
}
// Ignore buffer allocated inside the block when updating access region.
// No longer consider buffers allocated inside the block when updating access region.
if (it != alloc_buffers_.end()) {
for (const Buffer& buf : it->second) {
buffer_data_to_buffer_.erase(buf->data);
Expand Down

0 comments on commit 64f225c

Please sign in to comment.