[all-commits] [llvm/llvm-project] 72de75: [mlir][SCF] Add bufferization hook for scf.foreach...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Fri Jun 3 00:19:51 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72de7588cc8bf54b48f66e649f621ec182435e1a
https://github.com/llvm/llvm-project/commit/72de7588cc8bf54b48f66e649f621ec182435e1a
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2022-06-03 (Fri, 03 Jun 2022)
Changed paths:
M mlir/include/mlir/Dialect/SCF/SCFOps.td
M mlir/lib/Dialect/SCF/SCF.cpp
M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/test/Dialect/SCF/one-shot-bufferize.mlir
Log Message:
-----------
[mlir][SCF] Add bufferization hook for scf.foreach_thread and terminator.
`scf.foreach_thread` results alias with the underlying `scf.foreach_thread.parallel_insert_slice` destination operands
and they bufferize to equivalent buffers in the absence of other conflicts.
`scf.foreach_thread.parallel_insert_slice` conflict detection is similar to `tensor.insert_slice` conflict detection.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D126769
More information about the All-commits
mailing list