[all-commits] [llvm/llvm-project] 28ab10: [mlir][memref] ReinterpretCast: allow static sizes...

Ivan Butygin via All-commits all-commits at lists.llvm.org
Tue Dec 21 05:33:55 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28ab10f40424955761fe53485ca243c24f6fab2f
  Author: Butygin <ivan.butygin at intel.com>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

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

  Log Message:
  [mlir][memref] ReinterpretCast: allow static sizes/strides/offset where affine map expects dynamic

* There is no reason to forbid that case
* Also, user will get very unfriendly error like `expected result type with offset = -9223372036854775808 instead of 1`

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

More information about the All-commits mailing list