[Mlir-commits] [mlir] [mlir][vector] Additional transpose folding (PR #138347)

James Newling llvmlistbot at llvm.org
Wed May 14 07:52:57 PDT 2025


================
@@ -247,3 +247,36 @@ func.func @negative_shape_cast_transpose(%arg : vector<6xi8>) -> vector<2x3xi8>
   %1 = vector.transpose %0, [1, 0] : vector<3x2xi8> to vector<2x3xi8>
   return %1 : vector<2x3xi8>
 }
+
+// -----
+
+// Test of transpose folding
----------------
newling wrote:

Totally fine, I actually expected you to land it with your new format.. I should have communicated better yesterday. 

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


More information about the Mlir-commits mailing list