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

   For the previous version of the parser, this was special-cased for some 
intrinsic operators.  After the new TVMScript was enabled in 
https://github.com/apache/tvm/pull/12496, any `PrimExpr` that appears in the 
body of a statement is silently ignored.  This commit updates the parser to 
instead wrap the bare `PrimExpr` in a `tir::Evaluate` node.
   
   This change effectively allows [expression 
statements](https://docs.python.org/3/reference/simple_stmts.html#expression-statements)
 in TVMScript, which are converted to `tir::Evaluate` nodes during parsing.


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