Lunderberg opened a new pull request, #15253: URL: https://github.com/apache/tvm/pull/15253
Prior to this commit, the call to `TVMBackendFreeWorkspace` occurred outside the `LetStmt` that defined the workspace pointer. While works with current codegen, as the code produced for `LetStmt` does not check for out-of-scope access, this access of an out-of-scope should be avoided. This commit updates `LowerTVMBuiltin` to produce the call to `TVMBackendFreeWorkspace` at the end of the `LetStmt`'s body, rather than just after the `LetStmt`. -- 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]
