[Mlir-commits] [mlir] [mlir][Linalg] Add a pattern to fold concats of fill. (PR #98995)

donald chen llvmlistbot at llvm.org
Sun Jul 21 01:53:11 PDT 2024


================
@@ -879,15 +879,66 @@ struct FoldFillWithTranspose : OpRewritePattern<linalg::TransposeOp> {
   }
 };
 
+// Fold a concat with all elements being fills of the same value
+// into a fill of the concat result shape.
----------------
cxy-1993 wrote:

nit: Use /// in top level comment

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


More information about the Mlir-commits mailing list