[Mlir-commits] [mlir] [mlir][memref] Use array notation instead of permutation map for memref.transpose (PR #67880)
Mehdi Amini
llvmlistbot at llvm.org
Sat Sep 30 16:01:47 PDT 2023
================
@@ -2125,30 +2125,41 @@ def TensorStoreOp : MemRef_Op<"tensor_store",
def MemRef_TransposeOp : MemRef_Op<"transpose", [
DeclareOpInterfaceMethods<OpAsmOpInterface, ["getAsmResultNames"]>,
Pure]>,
- Arguments<(ins AnyStridedMemRef:$in, AffineMapAttr:$permutation)>,
+ Arguments<(ins AnyStridedMemRef:$in, DenseI64ArrayAttr:$permutation)>,
----------------
joker-eph wrote:
Not a big deal, but DenseI32ArrayAttr (or even DenseI16ArrayAttr!) are quite likely enough
https://github.com/llvm/llvm-project/pull/67880
More information about the Mlir-commits
mailing list