From f494109aed7db2415022e0b717269dc29a8dbd5f Mon Sep 17 00:00:00 2001 From: Matthew Barrett Date: Fri, 27 Mar 2020 15:40:32 +0000 Subject: [PATCH] Move comment --- src/relay/transforms/merge_compiler_regions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relay/transforms/merge_compiler_regions.cc b/src/relay/transforms/merge_compiler_regions.cc index 5358f4533f275..1ecf7cfc2e1f0 100644 --- a/src/relay/transforms/merge_compiler_regions.cc +++ b/src/relay/transforms/merge_compiler_regions.cc @@ -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()); }