Lunderberg opened a new pull request, #13936: URL: https://github.com/apache/tvm/pull/13936
Because `floormod(x,2)` has only two possible values, it can be simplified more aggressively than most FloorMod expressions. The additional simplifications are derived from `floormod(x,2) + floormod(x+1,2) == 1`, which is true for denominator `2`, along with the usual `floordiv(x,2)*2 + floormod(x,2) == x`, which is true for all denominators. This initially arose from an index expression `floormod(x + 1, 2) * 8192`, for `x ∈ [0, 2)`. This commit allows the expression to be re-written as `x * (-8192) + 8192` and recognized as a strided access. -- 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]
