[Mlir-commits] [mlir] [mlir][tensor] Fold producer linalg transpose with consumer tensor pack (PR #75658)
Prathamesh Tagore
llvmlistbot at llvm.org
Sun Dec 31 06:30:11 PST 2023
================
@@ -142,11 +143,45 @@ struct FoldProducerPackWithConsumerLinalgTransposeOp
return success();
}
};
+
+/// Fold 'transpose' -> 'pack' into 'pack' since 'pack' already has transpose
+/// semantics.
+struct FoldConsumerPackWithProducerLinalgTransposeOp
----------------
meshtag wrote:
I pushed a change to address this. Let me know what you think of it.
PS: I'll fix merge conflicts once the PR is approved.
https://github.com/llvm/llvm-project/pull/75658
More information about the Mlir-commits
mailing list