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

   This PR excludes `tirx::StmtNode::span` from structural equality and 
structural hash calculations.
   
   Source locations are diagnostic metadata and should not affect the 
structural identity of a TIRx statement. Other TIRx nodes with spans already 
follow this behavior, but `StmtNode::span` was missing the `SEqHashIgnore` 
field flag.
   
   A regression test is added to verify that two otherwise identical statements 
with different spans are structurally equal and produce the same structural 
hash.


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