Open sushant94 opened 7 years ago
It was our initial idea years ago after all. But there should be an ability to change the sequence of those passes manually (or repeat some if needed).
- Differentiate those passes that change the graph and those who not.
@XVilka Do you mean the graph structure of SSA, like removing a dead block?
Btw, do you have some basic idea about Trait or Structs? I think it would benefit if we could build a basic structure and work on this.
@ZhangZhuoSJTU yes, like your example.
All intra-function passes should have a similar structure to allow us to view them as passes. This has the following benefits:
Additionally, individual passes could also be developed by other users and still work within the eco-system.
Points of discussion: