[Mlir-commits] [mlir] [mlir][tensor] Fold rank increasing expand_shape into insert_slice (PR #93018)
Matthias Springer
llvmlistbot at llvm.org
Thu May 23 05:01:10 PDT 2024
================
@@ -79,12 +79,42 @@ struct FoldInsertOfRankReducingInsert : public OpRewritePattern<OpTy> {
return success();
}
};
+
+/// Fold rank increasing expand_shape into insert_slice.
----------------
matthias-springer wrote:
`expand_shape` is always rank-increasing, so the comment is a bit ambiguous.
https://github.com/llvm/llvm-project/pull/93018
More information about the Mlir-commits
mailing list