[Mlir-commits] [mlir] [mlir][tensor] Bufferize tensor.reshape with non-identity layouts (PR #65654)

Kai Sasaki llvmlistbot at llvm.org
Wed Sep 13 02:08:55 PDT 2023


https://github.com/Lewuathe commented:

In the documentation, `memref.reshape` seems to expect an identity layout for both inputs. Do we need to take care of the case with the non-identity map?

https://mlir.llvm.org/docs/Dialects/MemRef/#memrefreshape-memrefreshapeop

> The source and destination types are compatible if both have the same element type, same number of elements, address space and identity layout map. 

https://github.com/llvm/llvm-project/pull/65654


More information about the Mlir-commits mailing list