[Mlir-commits] [mlir] [mlir][vector] Additional transpose folding (PR #138347)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Tue May 13 04:00:45 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
----------------
banach-space wrote:
While working on https://github.com/llvm/llvm-project/pull/139706, I've noticed that these comments were incorrect/flipped (please double check). I prepared https://github.com/llvm/llvm-project/pull/139699 to address that.
I am happy to re-factor the format (yours is more descriptive), or wait for you to update things instead. Please let me know if you have a preference :)
https://github.com/llvm/llvm-project/pull/138347
More information about the Mlir-commits
mailing list