[Mlir-commits] [mlir] [MLIR] [Vector] Added canonicalizer for folding from_elements + transpose (PR #161841)
Keshav Vinayak Jha
llvmlistbot at llvm.org
Tue Oct 21 01:21:11 PDT 2025
================
@@ -6723,6 +6723,61 @@ class FoldTransposeShapeCast final : public OpRewritePattern<TransposeOp> {
}
};
+/// Folds transpose(from_elements(...)) into a new from_elements with permuted
+/// operands matching the transposed shape.
----------------
keshavvinayak01 wrote:
Done, thanks!
https://github.com/llvm/llvm-project/pull/161841
More information about the Mlir-commits
mailing list