Lunderberg commented on a change in pull request #8528:
URL: https://github.com/apache/tvm/pull/8528#discussion_r679489662
##########
File path: src/tir/transforms/storage_rewrite.cc
##########
@@ -1005,7 +1453,8 @@
TVM_REGISTER_GLOBAL("tir.transform.StorageRewrite").set_body_typed(StorageRewrit
Pass PointerValueTypeRewrite() {
auto pass_func = [](PrimFunc f, IRModule m, PassContext ctx) {
- return PointerValueTypeRewrite(std::move(f));
+ PrimFunc output = PointerValueTypeRewrite(std::move(f));
+ return output;
Review comment:
Good call, and both have been removed.
--
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]