[all-commits] [llvm/llvm-project] 966b72: [mlir][memref] Fix expanded shape ops memref.cast ...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Mon Nov 22 13:56:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 966b72098363d44adf2882b9c34fcdbe344ff913
      https://github.com/llvm/llvm-project/commit/966b72098363d44adf2882b9c34fcdbe344ff913
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/MemRef/canonicalize.mlir

  Log Message:
  -----------
  [mlir][memref] Fix expanded shape ops memref.cast folding with changed type

`memref.expand_shape` has verification logic to make sure
result dim must be static if all the collapsing src dims are static.

This can be relaxed once expand_shape supports more dynamism.

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




More information about the All-commits mailing list