[all-commits] [llvm/llvm-project] 522c1d: [mlir][gpu][bufferization] Implement BufferDealloc...

Martin Erhart via All-commits all-commits at lists.llvm.org
Wed Sep 20 03:28:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 522c1d0eeaa272381ade1af8b9ce9a9ab9180ea3
      https://github.com/llvm/llvm-project/commit/522c1d0eeaa272381ade1af8b9ce9a9ab9180ea3
  Author: Martin Erhart <merhart at google.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.h
    A mlir/include/mlir/Dialect/GPU/Transforms/BufferDeallocationOpInterfaceImpl.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp
    M mlir/lib/Dialect/GPU/CMakeLists.txt
    A mlir/lib/Dialect/GPU/Transforms/BufferDeallocationOpInterfaceImpl.cpp
    M mlir/lib/Dialect/SCF/Transforms/BufferDeallocationOpInterfaceImpl.cpp
    A mlir/test/Dialect/GPU/bufferization-buffer-deallocation.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][gpu][bufferization] Implement BufferDeallocationOpInterface for gpu.terminator (#66880)

This is necessary to support deallocation of IR with gpu.launch
operations because it does not implement the RegionBranchOpInterface.
Implementing the interface would require it to support regions with
unstructured control flow and produced arguments/results.




More information about the All-commits mailing list