[Mlir-commits] [mlir] [mlir][memref] Use array notation instead of permutation map for memref.transpose (PR #67880)

Mehdi Amini llvmlistbot at llvm.org
Sun Oct 1 13:05:27 PDT 2023


joker-eph wrote:

> But isn't it still possible to interpret it the other way around, i.e. as a mapping of result dimensions to original dimensions? I think this is what happened in https://github.com/llvm/llvm-project/issues/65145.

Two points:
1) Why would the array solve that?
2) Really I can't see why would anyone interpret it this way? The type of operations in MLIR is also written as `(source, types) -> (dest, types)` ; isn't it pretty much universal that the input is on the LHS of the arrow and the arrow points at the results?

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


More information about the Mlir-commits mailing list