[all-commits] [llvm/llvm-project] 9ca97c: [mlir] Linalg refactor for using "bufferize" termi...

Sean Silva via All-commits all-commits at lists.llvm.org
Wed Oct 14 12:41:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ca97cde8508b92856d22e2164c8b6fb6756696e
      https://github.com/llvm/llvm-project/commit/9ca97cde8508b92856d22e2164c8b6fb6756696e
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/integration_test/Dialect/Linalg/CPU/test-tensor-e2e.mlir
    M mlir/integration_test/Dialect/Linalg/CPU/test-tensor-matmul.mlir
    A mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/Linalg/Transforms/TensorsToBuffers.cpp
    A mlir/test/Dialect/Linalg/bufferize.mlir
    R mlir/test/Dialect/Linalg/tensors-to-buffers.mlir

  Log Message:
  -----------
  [mlir] Linalg refactor for using "bufferize" terminology.

Part of the refactor discussed in:
https://llvm.discourse.group/t/what-is-the-strategy-for-tensor-memref-conversion-bufferization/1938/17

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


  Commit: 6b30fb7653948fec80ca0cea19d8691495c96c28
      https://github.com/llvm/llvm-project/commit/6b30fb7653948fec80ca0cea19d8691495c96c28
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
    A mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/Shape/Transforms/ShapeTypeConversion.cpp
    A mlir/test/Dialect/Shape/bufferize.mlir
    R mlir/test/Dialect/Shape/shape-type-conversion.mlir

  Log Message:
  -----------
  [mlir] Rename ShapeTypeConversion to ShapeBufferize

Once we have tensor_to_memref ops suitable for type materializations,
this pass can be split into a generic type conversion pattern.

Part of the refactor discussed in:
https://llvm.discourse.group/t/what-is-the-strategy-for-tensor-memref-conversion-bufferization/1938/17

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


  Commit: 1cca0f323efab386300f19902faa6337dccae1c1
      https://github.com/llvm/llvm-project/commit/1cca0f323efab386300f19902faa6337dccae1c1
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/Bufferize.h
    M mlir/lib/Transforms/BufferPlacement.cpp
    A mlir/lib/Transforms/Bufferize.cpp
    M mlir/lib/Transforms/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Refactor code out of BufferPlacement.cpp

Now BufferPlacement.cpp doesn't depend on Bufferize.h.

Part of the refactor discussed in:
https://llvm.discourse.group/t/what-is-the-strategy-for-tensor-memref-conversion-bufferization/1938/17

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


  Commit: 9a14cb53cb4cd92b2c261a040a8750973b991b9f
      https://github.com/llvm/llvm-project/commit/9a14cb53cb4cd92b2c261a040a8750973b991b9f
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
    M mlir/include/mlir/Transforms/Bufferize.h
    M mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
    M mlir/lib/Transforms/Bufferize.cpp
    M mlir/test/Transforms/buffer-placement-preparation.mlir
    M mlir/test/lib/Transforms/TestBufferPlacement.cpp

  Log Message:
  -----------
  [mlir][bufferize] Rename BufferAssignment* to Bufferize*

Part of the refactor discussed in:
https://llvm.discourse.group/t/what-is-the-strategy-for-tensor-memref-conversion-bufferization/1938/17

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


  Commit: dd378739d731c81ded5209d70e2313c24811434d
      https://github.com/llvm/llvm-project/commit/dd378739d731c81ded5209d70e2313c24811434d
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M mlir/lib/Transforms/Bufferize.cpp

  Log Message:
  -----------
  [mlir] Fix some style comments from D89268

That change was a pure move, so split out the stylistic changes into
this patch.

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


Compare: https://github.com/llvm/llvm-project/compare/683b308c07bf...dd378739d731


More information about the All-commits mailing list