[all-commits] [llvm/llvm-project] 66aa9a: [mlir][bufferization] Implement BufferDeallocation...
Martin Erhart via All-commits
all-commits at lists.llvm.org
Thu Sep 14 07:20:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66aa9a251798da1ec5c441e6ad6373dc18685917
https://github.com/llvm/llvm-project/commit/66aa9a251798da1ec5c441e6ad6373dc18685917
Author: Martin Erhart <merhart at google.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
A mlir/include/mlir/Dialect/SCF/Transforms/BufferDeallocationOpInterfaceImpl.h
M mlir/include/mlir/InitAllDialects.h
A mlir/lib/Dialect/SCF/Transforms/BufferDeallocationOpInterfaceImpl.cpp
M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
A mlir/test/Dialect/SCF/buffer-deallocation.mlir
Log Message:
-----------
[mlir][bufferization] Implement BufferDeallocationopInterface for scf.forall.in_parallel (#66351)
The scf.forall.in_parallel terminator operation has a nested graph region with the NoTerminator trait. Such regions are not supported by the default implementations. Therefore, this commit adds a specialized implementation for
this operation which only covers the case where the nested region is empty.
This is because after bufferization, ops like tensor.parallel_insert_slice were already converted to memref operations residing int the scf.forall only and the nested region of scf.forall.in_parallel ends up empty.
More information about the All-commits
mailing list