[all-commits] [llvm/llvm-project] 99cd1e: Revert "[mlir][bufferization] Remove unused function"

Martin Erhart via All-commits all-commits at lists.llvm.org
Wed Sep 13 06:54:17 PDT 2023


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

  Changed paths:
    M mlir/lib/Dialect/Arith/Transforms/BufferDeallocationOpInterfaceImpl.cpp

  Log Message:
  -----------
  Revert "[mlir][bufferization] Remove unused function"

This reverts commit cb5fe6ce7560fa05fbb7a1d94567e8c3be971930.

This caused problems in downstream projects. We are reverting to give
them more time for integration.


  Commit: 7995a4701d5183f94b3a2d7a6fb998b4a1cc27a4
      https://github.com/llvm/llvm-project/commit/7995a4701d5183f94b3a2d7a6fb998b4a1cc27a4
  Author: Martin Erhart <merhart at google.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    R mlir/include/mlir/Dialect/Bufferization/Pipelines/Passes.h
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
    M mlir/include/mlir/InitAllPasses.h
    M mlir/lib/Dialect/Bufferization/CMakeLists.txt
    R mlir/lib/Dialect/Bufferization/Pipelines/BufferizationPipelines.cpp
    R mlir/lib/Dialect/Bufferization/Pipelines/CMakeLists.txt
    M mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocation.cpp
    M mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-branchop-interface.mlir
    M mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-callop-interface.mlir
    M mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-existing-deallocs.mlir
    M mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-function-boundaries.mlir
    M mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-memoryeffect-interface.mlir
    M mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-region-branchop-interface.mlir
    M mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-subviews.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  Revert "[mlir][bufferization] Define a pipeline for buffer deallocation"

This reverts commit f0c46639429768e46e1882036be7c2ddb712a985.

This caused problems in downstream projects. We are reverting to give
them more time for integration.


  Commit: ccb16acd461660a9ae837b02719f97220319fb02
      https://github.com/llvm/llvm-project/commit/ccb16acd461660a9ae837b02719f97220319fb02
  Author: Martin Erhart <merhart at google.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    R mlir/include/mlir/Dialect/SCF/Transforms/BufferDeallocationOpInterfaceImpl.h
    M mlir/include/mlir/InitAllDialects.h
    R mlir/lib/Dialect/SCF/Transforms/BufferDeallocationOpInterfaceImpl.cpp
    M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
    R mlir/test/Dialect/SCF/buffer-deallocation.mlir

  Log Message:
  -----------
  Revert "[mlir][bufferization] Implement BufferDeallocationopInterface for scf.forall.in_parallel"

This reverts commit 1356e853d47723c1be6eee2368d95c514a1816d1.

This caused problems in downstream projects. We are reverting to give
them more time for integration.


  Commit: 9782232ec7c6f62dc0af3ffff8f5ea005a8740aa
      https://github.com/llvm/llvm-project/commit/9782232ec7c6f62dc0af3ffff8f5ea005a8740aa
  Author: Martin Erhart <merhart at google.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    R mlir/include/mlir/Dialect/Arith/Transforms/BufferDeallocationOpInterfaceImpl.h
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.h
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.td
    M mlir/include/mlir/InitAllDialects.h
    R mlir/lib/Dialect/Arith/Transforms/BufferDeallocationOpInterfaceImpl.cpp
    M mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocation.cpp
    M mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-callop-interface.mlir

  Log Message:
  -----------
  Revert "[mlir][bufferization] BufferDeallocationOpInterface: support custom ownership update logic"

This reverts commit 89117f1807e5ac8db46295e977f02899e8ee8a56.

This caused problems in downstream projects. We are reverting to give
them more time for integration.


  Commit: 792caac0f8ed7db7236e5f8e5b491aba232d9b18
      https://github.com/llvm/llvm-project/commit/792caac0f8ed7db7236e5f8e5b491aba232d9b18
  Author: Martin Erhart <merhart at google.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    R mlir/include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.h
    R mlir/include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.td
    M mlir/include/mlir/Dialect/Bufferization/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Bufferization/Transforms/BufferUtils.h
    R mlir/include/mlir/Dialect/ControlFlow/Transforms/BufferDeallocationOpInterfaceImpl.h
    M mlir/include/mlir/InitAllDialects.h
    R mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp
    M mlir/lib/Dialect/Bufferization/IR/CMakeLists.txt
    M mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocation.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/BufferUtils.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/ControlFlow/Transforms/BufferDeallocationOpInterfaceImpl.cpp
    M mlir/lib/Dialect/ControlFlow/Transforms/CMakeLists.txt
    M mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-region-branchop-interface.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  Revert "[mlir][bufferization][NFC] Introduce BufferDeallocationOpInterface"

This reverts commit 29d86175e6a5fe956147734229dca88822415b21.

This caused problems in downstream projects. We are reverting to give
them more time for integration.


  Commit: 520407a7c8f21fede4e5faf551bf60d1bb7e0a40
      https://github.com/llvm/llvm-project/commit/520407a7c8f21fede4e5faf551bf60d1bb7e0a40
  Author: Martin Erhart <merhart at google.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M mlir/docs/Bufferization.md
    M mlir/include/mlir/Dialect/Bufferization/Transforms/BufferUtils.h
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
    M mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocation.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/BufferUtils.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/CMakeLists.txt
    R mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-branchop-interface.mlir
    R mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-callop-interface.mlir
    R mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-existing-deallocs.mlir
    R mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-function-boundaries.mlir
    R mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-memoryeffect-interface.mlir
    R mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-region-branchop-interface.mlir
    R mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/dealloc-subviews.mlir
    R mlir/test/Dialect/Bufferization/Transforms/BufferDeallocation/invalid-buffer-deallocation.mlir
    A mlir/test/Dialect/Bufferization/Transforms/buffer-deallocation.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  Revert "[mlir][bufferization] Improve buffer deallocation pass"

This reverts commit 1bebb60a7565e5197d23120528f544b886b4d905.

This caused problems in downstream projects. We are reverting to give
them more time for integration.


  Commit: 94c8faeaff88e2caa81ffbc4c3920f4e9ab4c5b6
      https://github.com/llvm/llvm-project/commit/94c8faeaff88e2caa81ffbc4c3920f4e9ab4c5b6
  Author: Martin Erhart <merhart at google.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M mlir/test/Integration/Dialect/Linalg/CPU/test-collapse-tensor.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-elementwise.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-expand-tensor.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-one-shot-bufferize.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-padtensor.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert-multiple-uses.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-e2e.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-matmul.mlir

  Log Message:
  -----------
  Revert "[mlir][bufferization] Update linalg integration tests to lower ops created by bufferization-to-memref pass"

This reverts commit 6f35401f867314d1b8c5e7e2c747d6b42b75d1d5.

This caused problems in downstream projects. We are reverting to give
them more time for integration.


  Commit: c199f7dc62f30537098b7f4431b8da13c2115a2a
      https://github.com/llvm/llvm-project/commit/c199f7dc62f30537098b7f4431b8da13c2115a2a
  Author: Martin Erhart <merhart at google.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M mlir/docs/Bufferization.md
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td
    M mlir/include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td
    M mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
    M mlir/include/mlir/Dialect/SparseTensor/Pipelines/Passes.h
    M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/Bufferization/IR/BufferizationDialect.cpp
    M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
    M mlir/lib/Dialect/Bufferization/TransformOps/BufferizationTransformOps.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/EmptyTensorElimination.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/TensorCopyInsertion.cpp
    M mlir/lib/Dialect/ControlFlow/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparsificationAndBufferizationPass.cpp
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/python/mlir/dialects/_bufferization_transform_ops_ext.py
    M mlir/test/Dialect/Arith/one-shot-bufferize.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-allow-return-allocs.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-analysis-empty-tensor-elimination.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-compat.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-empty-tensor-elimination.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-partial.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-pass-statistics.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-allow-return-allocs.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-analysis.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-invalid.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-out-params.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize.mlir
    M mlir/test/Dialect/Bufferization/Transforms/tensor-copy-insertion-memory-space.mlir
    M mlir/test/Dialect/Bufferization/Transforms/tensor-copy-insertion.mlir
    M mlir/test/Dialect/Bufferization/Transforms/transform-ops.mlir
    M mlir/test/Dialect/Bufferization/invalid.mlir
    M mlir/test/Dialect/ControlFlow/one-shot-bufferize-analysis.mlir
    M mlir/test/Dialect/ControlFlow/one-shot-bufferize-invalid.mlir
    M mlir/test/Dialect/ControlFlow/one-shot-bufferize.mlir
    M mlir/test/Dialect/Linalg/one-shot-bufferize-analysis.mlir
    M mlir/test/Dialect/Linalg/one-shot-bufferize.mlir
    M mlir/test/Dialect/SCF/one-shot-bufferize-allow-return-allocs-no-deallocs.mlir
    M mlir/test/Dialect/SCF/one-shot-bufferize-analysis.mlir
    M mlir/test/Dialect/SCF/one-shot-bufferize-invalid.mlir
    M mlir/test/Dialect/SCF/one-shot-bufferize-tensor-copy-insertion.mlir
    M mlir/test/Dialect/SCF/one-shot-bufferize.mlir
    M mlir/test/Dialect/SparseTensor/one_shot_bufferize_tensor_copy_insertion.mlir
    M mlir/test/Dialect/SparseTensor/sparse_sddmm.mlir
    M mlir/test/Dialect/Tensor/one-shot-bufferize-tensor-copy-insertion.mlir
    M mlir/test/Dialect/Tensor/one-shot-bufferize.mlir
    M mlir/test/lib/Dialect/Bufferization/TestTensorCopyInsertion.cpp
    M mlir/test/python/dialects/transform_bufferization_ext.py

  Log Message:
  -----------
  Revert "[mlir][bufferization] Remove allow-return-allocs and create-deallocs pass options, remove bufferization.escape attribute"

This reverts commit 6a91dfedeb956dfa092a6a3f411e8b02f0d5d289.

This caused problems in downstream projects. We are reverting to give
them more time for integration.


Compare: https://github.com/llvm/llvm-project/compare/75398f28ebdb...c199f7dc62f3


More information about the All-commits mailing list