Lunderberg opened a new pull request, #13947: URL: https://github.com/apache/tvm/pull/13947
This commit adds a utility function `tir::IdentifyMemCpy`, which analyzes a `tir::For` loop and determines whether it is equivalent to a memcpy. If it is equivalent, it will additionally return the source and destination regions of the memcpy. This utility is initially intended for use in the `LowerAsyncDMA` pass, but may be useful in other areas in the future. (e.g. Identifying an entire TIR function as equivalent to memcpy would allow calls to that TIR function to be removed from end-to-end models.) -- 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]
