MasterJH5574 opened a new pull request, #14588:
URL: https://github.com/apache/tvm/pull/14588

   This PR fixes a behavior of the UnifyThreadBinding pass which (at one place) 
assumes a return value is always a ForNode, which is not right.
   
   To be more specific, when a thread-binding loop has an annotation, the 
current behavior is assuming that the post-recursive-mutation value is also a 
ForNode, and apply the previous annotation directly to the new loop. However, 
the post-recursive-mutation value is also possibly not a ForNode. In this case, 
the current behavior is incorrect.
   
   This PR creates a new unit-length loop in this case to preserve the 
annotation.


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