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

Adam Siemieniuk llvmlistbot at llvm.org
Thu Jul 4 07:06:43 PDT 2024


================
@@ -250,6 +282,8 @@ module attributes {transform.with_named_sequence} {
 
     %2 = transform.structured.match ops{["linalg.softmax"]} in %arg1 : (!transform.any_op) -> !transform.any_op
     %3 = transform.structured.decompose_interface %2 : (!transform.any_op) -> !transform.any_op
+    %4 = transform.structured.generalize %3: (!transform.any_op) -> !transform.any_op
----------------
adam-smnk wrote:

To me it's a separate concern. AFAIK, decompose has never promised specific lowering format.
If we worry about generalization pass then that belongs to its own unit tests.

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


More information about the Mlir-commits mailing list