chunit-quic commented on PR #14574: URL: https://github.com/apache/tvm/pull/14574#issuecomment-1502774843
Hi community, This is third part of TVM Explorer infrastructures. Based on this patch, we can tag source information, the spans of source expressions, to the generated expressions during the pass transformations. To give you more context, we briefly describe what have been done below in this PR. Here is the list of main modifications: 1. Create a class SequentialSpan which is derived from Span. 2. Create a class SIBuilder to manage the span propagation during the pass transformations. 3. Use the pass context config, enable_si_builder to active SIBuilder. You can reference to [preRFC](https://discuss.tvm.apache.org/t/pre-rfc-tvm-explorer-infrastructure/13457#pass-source-information-builder-6) for more details. Thanks! :D --- For your reference, here is the related links. [PreRFC in forum](https://discuss.tvm.apache.org/t/pre-rfc-tvm-explorer-infrastructure/13457/24) https://github.com/apache/tvm-rfcs/pull/92 https://github.com/apache/tvm/issues/13116 [@haowhsu-quic](https://github.com/haowhsu-quic), [@zack-ch](https://github.com/zack-ch) -- 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]
