[Mlir-commits] [mlir] [mlir][vector] Group re-order patterns together (PR #102856)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Aug 15 14:30:00 PDT 2024


================
@@ -2030,8 +2030,7 @@ void mlir::vector::populateVectorContractCanonicalizeMatmulToMMT(
 void mlir::vector::populateVectorReductionToContractPatterns(
     RewritePatternSet &patterns, PatternBenefit benefit) {
   patterns.add<MultiReduceToContract, CombineContractBroadcast,
-               CombineContractABTranspose, CombineContractResultTranspose,
-               ReorderCastOpsOnBroadcast, ReorderElementwiseOpsOnTranspose>(
----------------
MaheshRavishankar wrote:

Thanks so much for doing this! Part of my concern here as well was that this combination of things wasnt tested properly in tree. Not your fault, it is just how this was done (there are implicit assumptions of what patterns go together that isnt always clear in the vector dialect).

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


More information about the Mlir-commits mailing list