[all-commits] [llvm/llvm-project] 8b0914: [mlir][arith][bufferize] Fix tensors with differen...

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


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

  Changed paths:
    M mlir/lib/Dialect/Arithmetic/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir

  Log Message:
  -----------
  [mlir][arith][bufferize] Fix tensors with different layouts after bufferization

Insert a cast if the two tensors with identical layout (that are passed to `arith.select`) have different layout maps after bufferization.

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




More information about the All-commits mailing list