[clang] [flang] [llvm] [polly] [Plugins] Pass arguments to a pass plugin with -plugin-arg (PR #226773)

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 05:39:07 PDT 2026


================
@@ -19,3 +19,9 @@ In Polly |version| the following important changes have been incorporated.
 
  * The infrastructure around ScopPasses has been removed.
 
+ * Polly's options are passed to ``opt`` with ``-plugin-arg=Polly,<option>``,
+   whether Polly is linked into ``opt`` or loaded as a plugin, e.g.
+   ``opt -load-pass-plugin=LLVMPolly.so -plugin-arg=Polly,-polly-process-unprofitable``.
+   When Polly is linked into ``opt``, the plain ``-polly-*`` options remain
+   accepted.
----------------
aengelke wrote:

"for now"? Or do we want to promise that this doesn't change in the future?

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


More information about the llvm-commits mailing list