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

Kai Sasaki llvmlistbot at llvm.org
Fri Sep 15 19:33:14 PDT 2023


https://github.com/Lewuathe approved this pull request.

Thanks for the intention of the change. It has made things much clearer to me. This change just guards the case where the input does not have an identity layout. 

> It may be possible to enhance memref.reshape to handle non-identity layout maps, but that is probably a more invasive change.

Yes, I agree. Even if it's the bug of the upstream to generate the invalid memref type with non-identity map, it would be a big fix.


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


More information about the Mlir-commits mailing list