areusch commented on code in PR #14665:
URL: https://github.com/apache/tvm/pull/14665#discussion_r1171539372
##########
include/tvm/ir/source_map.h:
##########
@@ -127,6 +127,31 @@ class Span : public ObjectRef {
TVM_DEFINE_OBJECT_REF_METHODS(Span, ObjectRef, SpanNode);
};
+class MultiSpanNode : public SpanNode {
+ public:
+ Map<Span, ObjectRef> spans;
Review Comment:
the thing is, in addition to the Span I need the name of the Relax op it was
attached to. Happy to report less stuff here, but I do need more than just
what's in the span. Hence the map.
--
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]