[Mlir-commits] [mlir] [mlir][Transform] Create a transform interpreter and a preloader pass (PR #68661)
Matthias Springer
llvmlistbot at llvm.org
Wed Oct 11 08:49:52 PDT 2023
================
@@ -42,4 +42,35 @@ def InferEffectsPass : Pass<"transform-infer-effects"> {
}];
}
+def PreloadLibraryPass : Pass<"transform-preload-library"> {
+ let summary = "preload transform dialect library";
+ let description = [{
+ This pass preloads a transform library and makes it available to a subsequent
+ transform interpreter passes. The preloading occurs into the Transform
+ dialect and thus provides very limited functionality that does not scale.
+
+ Warning: Only a single such pass should exist for a given MLIR context.
----------------
matthias-springer wrote:
Why is there such a limitation? `registerLibraryModule` pushes to a `SmallVector`, so I think multiple such passes in a pipeline would be OK.
https://github.com/llvm/llvm-project/pull/68661
More information about the Mlir-commits
mailing list