[all-commits] [llvm/llvm-project] 51df62: [mlir][tensor] Fix bufferization of CollapseShapeO...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Mar 31 01:12:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51df62388e83a406e4a946ff8aae1f7299a2d92b
      https://github.com/llvm/llvm-project/commit/51df62388e83a406e4a946ff8aae1f7299a2d92b
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

  Changed paths:
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Tensor/bufferize.mlir

  Log Message:
  -----------
  [mlir][tensor] Fix bufferization of CollapseShapeOp / ExpandShapeOp

Infer a tighter MemRef type instead of always falling back to the most dynamic MemRef type. This is inefficient and caused op verification errors.

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




More information about the All-commits mailing list