[all-commits] [llvm/llvm-project] 199f36: [mlir][vector][bufferize] Bufferize vector.mask an...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Jan 31 00:02:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 199f368e35f6c63bbc3386c608d3773517f2985b
      https://github.com/llvm/llvm-project/commit/199f368e35f6c63bbc3386c608d3773517f2985b
  Author: Matthias Springer <springerm at google.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Vector/Transforms/BufferizableOpInterfaceImpl.cpp
    A mlir/test/Dialect/Vector/bufferize-invalid.mlir
    M mlir/test/Dialect/Vector/bufferize.mlir
    A mlir/test/Dialect/Vector/one-shot-bufferize.mlir

  Log Message:
  -----------
  [mlir][vector][bufferize] Bufferize vector.mask and vector.yield

The masked op can currently not bufferize out-of-place. Such IR would be rejected by the One-Shot Bufferize because it would mean that a new buffer allocation is yielded from a block. Furthermore, only one operation is currently allowed inside `vector.mask`.

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




More information about the All-commits mailing list