[all-commits] [llvm/llvm-project] 664ffa: [mlir][tensor][bufferize] Fix deallocation of Gene...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Jul 25 03:28:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 664ffa46bb5266104d8c8e817d9ae2e885ea3ddd
      https://github.com/llvm/llvm-project/commit/664ffa46bb5266104d8c8e817d9ae2e885ea3ddd
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
    M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Tensor/one-shot-bufferize.mlir

  Log Message:
  -----------
  [mlir][tensor][bufferize] Fix deallocation of GenerateOp/FromElementsOp

Both ops allocate a buffer. There were cases in which the buffer was not deallocated.

Differential Revision: https://reviews.llvm.org/D130469




More information about the All-commits mailing list