[Mlir-commits] [mlir] [mlir] Add `SelectPass` (PR #130409)

Ivan Butygin llvmlistbot at llvm.org
Sat Mar 8 12:09:56 PST 2025


================
@@ -586,4 +586,23 @@ def CompositeFixedPointPass : Pass<"composite-fixed-point-pass"> {
   ];
 }
 
+def SelectPass : Pass<"select-pass"> {
+  let summary = "Select pass";
+  let description = [{
+    Select pass allows to run multiple different set of passes based on
+    attribute value on some top-level op.
----------------
Hardcode84 wrote:

Technically, not necessarily on top-level op, just on this op pass is rooted on, clarified the doc.

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


More information about the Mlir-commits mailing list