zxybazh commented on code in PR #12184:
URL: https://github.com/apache/tvm/pull/12184#discussion_r930334204


##########
src/meta_schedule/space_generator/post_order_apply.cc:
##########
@@ -55,8 +55,10 @@ class BlockCollector : public tir::StmtVisitor {
     CHECK(block_names_.count(block->name_hint) == 0)
         << "Duplicated block name " << block->name_hint << " in function " << 
func_name_
         << " not supported!";
-    block_names_.insert(block->name_hint);
-    blocks_to_collect_.push_back(block->name_hint);
+    if (block->name_hint != "root") {

Review Comment:
   Thanks for the suggestion, after some more dig in I found there's no issue 
with the correct TIR so I would simply close the PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to