[Mlir-commits] [mlir] [MLIR][Transform] Allow ApplyRegisteredPassOp to take options as a param (PR #142683)

Frank Schlimbach llvmlistbot at llvm.org
Wed Jun 4 09:28:19 PDT 2025


fschlimb wrote:

I like the possibility to have be able to provide options as SSA values.

It seems like one might want to mix static and dynamic options. Would it make sense to provide the options as a list rather than a string? 
```
%option1 =...
transform.apply_registered_pass "canonicalize" with options = [%option1, "option2"] to %1 : (!transform.any_param, !transform.any_op) -> !transform.any_op
```

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


More information about the Mlir-commits mailing list