Lunderberg commented on PR #15665: URL: https://github.com/apache/tvm/pull/15665#issuecomment-1746943345
@vinx13 I don't think that simplification would hold. If I use `x==-16`, `(x % 255) // 16` evaluates to 14, while `(x // 16) % ceildiv(255, 16)` evaluates to 15. That said, if we know that `x` is on the range `0 <= x < 255`, such that `x % 255 == x`, then the simplification would be valid. -- 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]
