[all-commits] [llvm/llvm-project] dfa96c: [mlir][tensor] Fix ReifyRankedShapedTypeOpInterfac...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Aug 24 03:32:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dfa96cfd7c2b86cb2379cb79e4259b8febf359ed
      https://github.com/llvm/llvm-project/commit/dfa96cfd7c2b86cb2379cb79e4259b8febf359ed
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorInferTypeOpInterfaceImpl.cpp
    M mlir/test/Dialect/Tensor/resolve-shaped-type-result-dims.mlir

  Log Message:
  -----------
  [mlir][tensor] Fix ReifyRankedShapedTypeOpInterface impl. of reshape ops

`reifyResultShapes` should return an `Attribute` if and only if the respective dimension is static.

This fixes #64256.

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




More information about the All-commits mailing list