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

   Previously, the return value of a PackedFunc was hard-coded as the string 
`"return 0;"` in `CodeGenCHost`, which could cause compilation errors for 
`PrimFunc` returning `DataType::Void()`.  This PR removes this explicit return 
statement from `CodeGenCHost`, replacing it with `tir::ret(Integer(0))` in the 
`MakePackedAPI` and `MakeUnpackedAPI` transforms.
   
   This is related to https://github.com/apache/tvm/pull/15073, which performs 
an analogous change for the function signature.


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