junrushao1994 commented on a change in pull request #9041:
URL: https://github.com/apache/tvm/pull/9041#discussion_r716922693



##########
File path: src/tir/schedule/state.cc
##########
@@ -421,6 +389,86 @@ class StateCreator : private StmtVisitor {
   arith::Analyzer analyzer_;
 };
 
+/*! \brief A helper class to create a new ScheduleStateNode from an IRModule */
+class StateCreator : private StmtVisitor {

Review comment:
       I just checked. Actually StateCreator, including its contents like 
PushSRef, VisitStmt, is not used anymore, so let's remove them all and inline 
the Create method into `ScheduleState::ScheduleState`




-- 
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