[Mlir-commits] [mlir] [MLIR][Linalg] Add aggregate ops decomposition pass and softmax decom… (PR #97582)

Renato Golin llvmlistbot at llvm.org
Sun Jul 7 05:09:36 PDT 2024


================
@@ -30,6 +30,16 @@ class IteratorTypeAttr;
 class LinalgOp;
 class GenericOp;
 
+/// Container for result values of decomposition.
+/// - `decomposedOps` contains operations created by the decomposition that are
+/// returned to the caller for further transformations.
+/// - `decomposedValues` contains the values corresponding to the result of the
+/// aggregate operation.
+struct DecompositionResult {
+  SmallVector<Operation *> decomposedOps;
----------------
rengolin wrote:

Hm, I see. I'm ok with this being `Operation *` for now, with a TODO/FIXME to make sure people are aware if they try to use it for other needs. I think the probability of anyone trying to use it outside of this scope is very small.

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


More information about the Mlir-commits mailing list