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

   Previously, in `ConstIntBoundAnalyzer`, entering a conditional such as `if 
2==0` could result in the expression `2` being treated as having a known value 
of zero within the body of the conditional.  Evaluating the range of 
expressions using `2` in the body of the conditional could result in exceptions 
being thrown, such as evaluating `expr / 2` while setting `2` to its maximum 
value of zero.
   
   This issue was present for conditions with inequalities for some time, but 
was introduced for conditions with equalities in 
https://github.com/apache/tvm/pull/11524.  Both types are resolved in this 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