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

   This PR fixes the purity flag of `relax.vm.call_tir_dyn` and another few 
"kill" ops. Their purity flags were set to True, which made them possible to be 
removed by `remove_all_unused`.
   
   * `relax.vm.call_tir_dyn` works by mutating the input args in place, which 
is not pure.
   * though the "kill" ops have no actions so far, their semantics suggest that 
they are impure.
   
   A regression test is added to prevent the unexpected removal from happening 
again.


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

Reply via email to