[Mlir-commits] [mlir] [MLIR][Tensor] Add Destination style RewritePattern for DimOp. (PR #65780)
Amy Wang
llvmlistbot at llvm.org
Fri Sep 8 15:04:01 PDT 2023
================
@@ -579,11 +579,30 @@ struct DimOfCastOp : public OpRewritePattern<DimOp> {
return success();
}
};
+
+struct DimOfDestStyleOp : public OpRewritePattern<DimOp> {
----------------
kaitingwang wrote:
Thank you for the approval! I added a brief comment: "Fold dim of a destination passing style op into the dim of the corresponding init." The updated PR should be running CI now.
https://github.com/llvm/llvm-project/pull/65780
More information about the Mlir-commits
mailing list