[all-commits] [llvm/llvm-project] d7a9bf: [mlir][tensor] Fix verifier and bufferization of c...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Apr 8 02:23:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7a9bf91431a08bf43cc5b7111a043de9defaee9
      https://github.com/llvm/llvm-project/commit/d7a9bf91431a08bf43cc5b7111a043de9defaee9
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Tensor/bufferize.mlir

  Log Message:
  -----------
  [mlir][tensor] Fix verifier and bufferization of collapse_shape

Insert a buffer copy unless the dims are guaranteed to be collapsible. In the verifier, accept collapses unless they are guaranteed to be non-collapsible.

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




More information about the All-commits mailing list