[flang-commits] [PATCH] D129156: Add -fpass-plugin option to Flang

Andrzej Warzynski via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Sep 30 13:44:39 PDT 2022


awarzynski added a comment.

Thanks for the update! Looks like per-commit CI is failing.



================
Comment at: flang/docs/FlangDriver.md:515
+passes. The `-fpass-plugin` option enables these passes to be passed to the 
+middle-end where they are added to the pass pipeline and run after lowering to
+LLVM IR.The exact position of the pass in the pipeline will depend on how it has 
----------------
It's probably worth specifying that this is the LLVM middle-end and that these passes are run by the optimisation rather than code-gen/backend pipelines (there are two). 


================
Comment at: flang/docs/FlangDriver.md:521
+
+The framework to enable pass plugins in `flang` uses the exact same machinery as
+that used by `clang` and thus has the same capabilities and limitations. 
----------------



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129156/new/

https://reviews.llvm.org/D129156



More information about the flang-commits mailing list