[Mlir-commits] [mlir] [mlir][linalg] Extend elementwise (PR #124661)
    Andrzej WarzyĆski 
    llvmlistbot at llvm.org
       
    Mon Feb  3 12:00:16 PST 2025
    
    
  
================
@@ -551,6 +551,122 @@ def BroadcastOp : LinalgStructuredBase_Op<"broadcast", [
   let hasCanonicalizer = 1;
 }
 
+//===----------------------------------------------------------------------===//
+// Op definition for ElementwiseOp
+//===----------------------------------------------------------------------===//
+def ElementwiseOp : LinalgStructuredBase_Op<"elementwise", [
+                   AttrSizedOperandSegments]> {
+  let summary = [{ Performs element-wise operation }];
+  let description = [{
+    Linalg op form which performs element-wise computation.
----------------
banach-space wrote:
[nit] This is repeating info from the summary, deleteme.
https://github.com/llvm/llvm-project/pull/124661
    
    
More information about the Mlir-commits
mailing list