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

Oleksandr Alex Zinenko via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 03:42:59 PDT 2023


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

Somehow, I don't put `apply_patterns` and `apply_dce` into the same bucket as `apply_licm` and `hoist_loop_invariant_subsets`. Maybe because the former are supposed to work on ops from _all_ dialects, and the latter only apply to a subset of dialects. So I'd prefer a loop-specific extension. The naming issue is that SCF-related transforms already use `loop` as a prefix (maybe we should change that).

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


More information about the llvm-commits mailing list