[Mlir-commits] [mlir] [mlir][linalg] Add transpose support for reshape as consumer fusion (PR #130344)

Nirvedh Meshram llvmlistbot at llvm.org
Mon Mar 10 19:29:14 PDT 2025


================
@@ -816,17 +816,51 @@ validateDynamicDimExpansion(LinalgOp linalgOp,
 }
 
 // Create an expanded transpose op.
+// For bubbling a collapse : transpose(collapse_shape),
----------------
nirvedhmeshram wrote:

Actually, I realized that I could use the dims from expansion info and make the logic
1. consistent across sinking collapse / bubbling expand
2. easier to follow
PTAL

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


More information about the Mlir-commits mailing list