tqchen opened a new pull request, #19926:
URL: https://github.com/apache/tvm/pull/19926

   Make `ExprNode::ty` participate in structural equality and hashing, then 
remove the duplicate reflected `tirx::VarNode::type_annotation` field so 
inherited `VarNode::ty` is the exact semantic type source.
   
   Scalar variables remain primitive expressions, while pointer variables 
retain `PointerType` and remain valid generic expressions. `Var::ty()` 
continues to provide the runtime primitive-type view at machine-facing 
boundaries. The change updates traversal, substitution, script 
parsing/printing, analysis, lowering, and code generation to narrow to 
primitive expressions only where required, while retaining the explicit 
`tirx.type_annotation` access-pointer intrinsic.
   
   Validation includes the full compiler build, TIRx base tests, TVMScript 
round trips, focused arithmetic/Relax/S-TIR/structural-identity coverage, and 
representative LLVM texture compilation.


-- 
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]

Reply via email to