[REFACTOR][DataType] Phase out target custom datatype support#19760
Conversation
There was a problem hiding this comment.
Code Review
This pull request completely removes the "Bring Your Own Datatypes" (BYODT) custom datatype framework from TVM, including its CMake configurations, Docker dependencies, Python bindings, C++ registry, custom datatype lowering passes, and associated third-party wrappers. Feedback on the changes suggests that the check for DataType::kCustomBegin in src/target/llvm/codegen_llvm.cc was missed and should be removed as it is now obsolete.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| // LLVM IR doesn't allow void*, so pointer element types that do not | ||
| // have an LLVM scalar equivalent need explicit handling. |
eb6b860 to
d39af58
Compare
Summary
The in-tree target custom datatype path adds maintenance surface while current development focuses on core datatypes. This PR phases out the built-in registry/lowering implementation and keeps the core dtype behavior intact.