Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mlir][bufferize] Fix repetitive region conflict detection
This fixes a bug where a required buffer copy was not inserted. Not only written aliases, but also read aliases should be taken into account when computing common enclosing repetitive regions. Furthermore, for writing ops, it does not matter where the destination tensor is defined, but where the op itself is located. Differential Revision: https://reviews.llvm.org/D135420
- Loading branch information
1 parent
a6a0d9e
commit 2e21003
Showing
2 changed files
with
183 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters