Lunderberg opened a new pull request, #14496: URL: https://github.com/apache/tvm/pull/14496
Prior to this commit, the same `tir::Var` could be defined both in the body of the host function and in a parameters of the device function. While this is legal, as TIR only requires SSA across each `PrimFunc`, this does result in failure to round-trip through TVMScript, because the round-tripped TIR uses a new `tir::Var` in each instance. This PR adds a `ConvertSSA()` transform that can apply to an entire `IRModule`, in addition to the existing `ConvertSSA(Stmt)` utility. This is part of changes described in https://github.com/apache/tvm/pull/14486, to improve round-trip failures that occur in lowering. -- 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]
