[all-commits] [llvm/llvm-project] d361ec: [mlir][SCF][bufferize] Implement `resolveConflicts...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Jun 15 00:07:51 PDT 2022
Author: Matthias Springer <springerm at google.com>
Date: 2022-06-15 (Wed, 15 Jun 2022)
[mlir][SCF][bufferize] Implement `resolveConflicts` for SCF ops
scf::ForOp and scf::WhileOp must insert buffer copies not only for out-of-place bufferizations, but also to enforce additional invariants wrt. to buffer aliasing behavior. This is currently happening in the respective `bufferize` methods. With this change, the tensor copy insertion pass will also enforce these invariants by inserting copies. The `bufferize` methods can then be simplified and made independent of the `AnalysisState` data structure in a subsequent change.
Differential Revision: https://reviews.llvm.org/D126822
More information about the All-commits