Skip to content

Commit

Permalink
Move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaret committed Mar 27, 2020
1 parent f433ba4 commit f494109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relay/transforms/merge_compiler_regions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ class RegionMerger : public ExprVisitor {
}
auto& region_restrictions = region_restrictions_[region->GetID()];
for (const auto& parent_region : mergeable_regions) {
auto parent_restrictions = region_restrictions_[parent_region->GetID()];
// add all the parent restrictions to the current region
auto parent_restrictions = region_restrictions_[parent_region->GetID()];
region_restrictions.insert(parent_restrictions.begin(),
parent_restrictions.end());
}
Expand Down

0 comments on commit f494109

Please sign in to comment.