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

   Prior to this commit, `relax.op.call_tir` could express the TIR arguments as 
either an in-line tuple, or as a variable bound to a tuple.  Because several 
passes assume the arguments will always be an in-line tuple, this is being 
codified as the normal form of `relax.op.call_tir`.  Any upstream transform 
that produces `relax.op.call_tir` with arguments provided as a by-variable 
tuple will either be normalized to an in-line tuple if possible, or will 
produce an error during the upstream transform otherwise.
   
   This commit is specifically to allow the current usage of 
`Downcast<Tuple>(call->args[1])` in passes such as `CallTIRRewrite`, 
`FoldConstant`, `FuseTIR`, and `RewriteDataflowReshape`.


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