[Mlir-commits] [mlir] [vector][mlir] Canonicalize to shape_cast where possible (PR #140583)

James Newling llvmlistbot at llvm.org
Thu Jun 26 08:59:08 PDT 2025


================
@@ -382,64 +381,6 @@ class TransposeOpLowering : public OpRewritePattern<vector::TransposeOp> {
   vector::VectorTransposeLowering vectorTransposeLowering;
 };
 
-/// Rewrites vector.transpose as vector.shape_cast. This pattern is only applied
----------------
newling wrote:

Author note: I've removed this pattern, as it is a special case of TransposeToShapeCast

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


More information about the Mlir-commits mailing list