[all-commits] [llvm/llvm-project] b20e15: [mlir] Use static shape knowledge when lowering me...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Tue May 11 09:21:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b20e150c9be16f69c73f4cd2986053d13d0f376a
      https://github.com/llvm/llvm-project/commit/b20e150c9be16f69c73f4cd2986053d13d0f376a
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M mlir/lib/Dialect/StandardOps/Transforms/ExpandOps.cpp
    M mlir/test/Dialect/Standard/expand-ops.mlir

  Log Message:
  -----------
  [mlir] Use static shape knowledge when lowering memref.reshape

This is actually necessary for correctness, as memref.reinterpret_cast
doesn't verify if the output shape doesn't match the static sizes.

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




More information about the All-commits mailing list