Conversation
tancheng
left a comment
There was a problem hiding this comment.
Hmm, can this constant binding be done in FusePatternsPass.cpp?
I didn't add the constant binding feature in this pr yet. And I creates a single Fuse Since I need the ir with fused |
|
Can you explain a bit on: "Remove the grant_always operations in --transform-ctrl-to-data-pass"? What would it look like if |
It looks like "replace" instead of "remove". |
We use the |
|
Where is |
I don't get this. Why can't we simply fuse the |
I haven't made a pr for it yet. And the transformed ir looks like: |
I see what you mean. I can modify this. |
7b2b374
In this pr:
grant_alwaysoperations in--transform-ctrl-to-data-passgrant_always, we can achiveCompiledII = 6 : i32, RecMII = 4 : i32, ResMII = 2 : i32forbranch_for.mlir(previous compiledII=7) andCompiledII = 3 : i32, RecMII = 3 : i32, ResMII = 2 : i32forsimpleloop.mlir(previous compiledII=5).