Sync View Support for Split Operations #261
Labels
stat:awaiting model-navigator
The issue is actively being worked on by our navigators
type:feature
Feature requests
I am currently working on a tool that visualizes IR code at different compilation stages, allowing users to compare the IR across these stages. However, I encountered an issue in scenarios where a single operation is split into multiple operations during transformation.
Here is a concrete example with Tosa:
From this original IR:
To this transformed IR:
(Here is a link to Compiler Explorer with the example: https://godbolt.org/z/YbhrP8hsb)
In this example, the tosa.abs operation at #loc3 is split into three separate operations in the transformed IR. To accurately showcase these changes in the sync view, it would require associating one operation in the original IR with multiple operations in the transformed IR. However, there doesn’t appear to be support for linking one operation to multiple operations. As far as I understand, sync view currently only allows a synchronised view between: a node to another node, a layer to another layer, a node to a layer, and a layer to a node.
Another example would be cases, where multiple operations are fused into a single operation.
So I wanted to ask, if sync view is capable of displaying such scenarios and, if it is not capable of doing so, if there are plans to implement a feature capable of displaying this scenario, or expand sync view to display it.
The text was updated successfully, but these errors were encountered: