[llvm] [mlir][transform] LISH: Add transform op (PR #70630)

Matthias Springer via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 03:27:08 PDT 2023


================
@@ -691,6 +691,65 @@ def GetTypeOp : TransformDialectOp<"get_type",
                        "functional-type(operands, results)";
 }
 
+def HoistLoopInvariantSubsetsOp
----------------
matthias-springer wrote:

Makes sense. We possible extensions that come to mind:
- an extension for "transformations of loop-like ops": `apply_licm`, `hoist_loop_invariant_subsets`
- an extension for all "MLIR core transformations": `apply_licm`, `apply_patterns`, `apply_conversion_pattern`, `hoist_loop_invariant_subsets`, `apply_dce`, maybe I missed a few more

I would prefer the second one, what do you think? We could call it `Dialect/Transform/CoreTransformsExtension/CoreTransformsExtension.cpp`. (Or if you know a better name...)


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


More information about the llvm-commits mailing list