Lunderberg opened a new pull request, #14488:
URL: https://github.com/apache/tvm/pull/14488
Prior to this PR, the type annotations `PrimType(DataType::Handle())` and
`PointerType(PrimType(DataType::Void()))` are both represented as `T.handle` in
TVMScript, which can cause failures to round-trip between TIR and TVMScript.
This PR keeps `PrimType(DataType::Handle())` as `T.handle`, but updates the
representation of `PointerType(PrimType(DataType::Void()))` to
`T.handle("void")` in order to distinguish between these two cases.
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]