haoyang9804 opened a new pull request #10484: URL: https://github.com/apache/tvm/pull/10484
Focusing the problem in [here](https://discuss.tvm.apache.org/t/check-failed-value-0u-1-vs-0-at-relay-build/12223). I have make the following change to the codebase: In `TryConstFold<tir::Sub>`, which is needed for `negative` operator, I add a check about potential negative uint value: If minuend is of uint and it's value is 0 while the subtrahend is of uint, then the difference would be negative and of uint. This situation should be forbidden. -- 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]
