[Mlir-commits] [mlir] [mlir][linalg] Extend Linalg elemwise named ops semantics (PR #122753)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Jan 15 11:12:39 PST 2025


================
@@ -551,6 +551,136 @@ def BroadcastOp : LinalgStructuredBase_Op<"broadcast", [
   let hasCanonicalizer = 1;
 }
 
+//===----------------------------------------------------------------------===//
+// Op definition for ElemwiseOp - with user-defined maps, computation type etc.
----------------
banach-space wrote:

[nit] Lets stick with the existing convention.
```suggestion
// Op definition for ElemwiseOp
```

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


More information about the Mlir-commits mailing list