guan404ming opened a new pull request, #19908:
URL: https://github.com/apache/tvm/pull/19908
## Why
After #19890 moved Relax dtype to optional, two spots still used the
deprecated `DLDataType{kDLOpaqueHandle, 0, 0}` void sentinel.
## How
- Drop the now-unreachable unknown-dtype branch in IsBoolType (handled
earlier by IsUnknownDtype()).
- Replace the raw void-sentinel comparison in ones/zeros with
PrimType::IsVoid().
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]