tkonolige commented on code in PR #13375:
URL: https://github.com/apache/tvm/pull/13375#discussion_r1021900519


##########
src/tir/schedule/analysis/analysis.cc:
##########
@@ -890,7 +890,7 @@ IterVarType GetLoopIterType(const StmtSRef& loop_sref) {
           }
         });
       }
-      return false;
+      return true;

Review Comment:
   This change makes `GetLoopIterType` recurse into sub-blocks (`true` means 
visit sub-nodes). This makes `GetLoopIterType` correct in the presence of 
nested blocks.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to