[Mlir-commits] [mlir] [mlir][linalg] Constrain the parameters m, r in Winograd ops (PR #144657)

Hsiangkai Wang llvmlistbot at llvm.org
Wed Jun 25 02:24:20 PDT 2025


================
@@ -100,6 +100,20 @@ OpFoldResult createFoldedDimOp(OpBuilder &b, Location loc, Value val,
 
 #include "mlir/Dialect/Linalg/IR/LinalgOpsEnums.h.inc"
 
+namespace mlir {
+namespace linalg {
+
+/// Converts the given `m` and `r` parameters to a WinogradConv2DFmr enumeration
+/// value.
+WinogradConv2DFmr getWinogradConv2DFmr(int64_t m, int64_t r);
----------------
Hsiangkai wrote:

Updated.

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


More information about the Mlir-commits mailing list