Lunderberg opened a new pull request, #17313: URL: https://github.com/apache/tvm/pull/17313
Prior to this commit, the `CanonicalizeBindings` pass could identify and simplify a value that had been packed into a tuple, then extracted from it. (e.g. Simplifying `tup = (x,y); z = tup[0]` into `z = x`.) However, it could not identify a value that had been expanded from a tuple, and then re-bundled. (e.g. Simplifying `new_tuple = (tup[0], tup[1])` into `new_tuple = tup`.) This commit updates `CanonicalizeBindings` to identify and remove unnecessary tuple unpacking/repacking. -- 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]
