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

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri Jul 5 07:54:06 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;
----------------
ftynse wrote:

Are all decomposed ops Linalg ops? If so, can we use `linalg::LinalgOp` (interface) instead of the generic `Operation *`.

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


More information about the Mlir-commits mailing list