MasterJH5574 commented on a change in pull request #9360:
URL: https://github.com/apache/tvm/pull/9360#discussion_r735751050



##########
File path: src/tir/schedule/analysis/analysis.cc
##########
@@ -552,6 +520,9 @@ bool GetVarsTouchedByBlockIters(const BlockRealize& 
block_realize,
     } else {
       has_block_vars_of_other_types = true;
     }
+    if (set == nullptr) {

Review comment:
       No this is not a bug.
   
   Before this PR, we assume that the input pointers are both not `nullptr`. 
But after this PR, the input set pointer `data_par_vars` can be `nullptr`, and 
we won't collect variables for `data_par_vars` if it's `nullptr`.




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