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

   The TIR equivalent of python's `return` statement is the 
`tir::builtin::ret()` operator.  Prior to this commit, this was printed as 
`T.ret(value)`, and any use of `return` statement in TVMScript produced an 
error while parsing.
   
   This commit updates the TVMScript parsing to produce `T.ret(value)` for the 
python `return value` statement.  If syntax sugar is enabled, the TIR 
`T.ret(value)` will be printed as `return value`.


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