Skip to content

Commit

Permalink
[mlir][scf] Extend consumer fuse to single nested scf.for (llvm#94190)
Browse files Browse the repository at this point in the history
Refactor current consumer fusion based on `addInitOperandsToLoopNest` to support single nested `scf.for`, E.g.

```
%0 = scf.for() {
  %1 = scf.for() {
     tiledProducer
  }
  yield %1
}
%2 = consumer ins(%0)
```
  • Loading branch information
Yun-Fly authored Sep 12, 2024
1 parent c9ab697 commit 2d4bdfb
Show file tree
Hide file tree
Showing 2 changed files with 241 additions and 181 deletions.
Loading

0 comments on commit 2d4bdfb

Please sign in to comment.