[Mlir-commits] [mlir] [mlir][linalg] added some conditions for values being undefined in the documentation for `linalg.generic` (PR #96251)

Jacob Yu llvmlistbot at llvm.org
Fri Jun 21 13:28:26 PDT 2024


================
@@ -82,6 +82,16 @@ def GenericOp : LinalgStructuredBase_Op<"generic", [
         types:
           parallel, reduction, window
 
+    Any element within the output operands that are not indexed by the 
----------------
pingshiyu wrote:

That's what I thought initially too! I thought the value would just be what's in the `init` operand.

However the behaviour currently is actually undefined, i.e. here's a test case that demonstrates this https://discourse.llvm.org/t/linalg-generic-issue-understanding-indexing-map-semantics/79256, and was what lead me to raise that first issue

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


More information about the Mlir-commits mailing list