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

Tarun Prabhu via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jul 12 18:03:22 PDT 2022


tarunprabhu added a comment.

In D129156#3642328 <https://reviews.llvm.org/D129156#3642328>, @tarunprabhu wrote:

>> 3. Have you tried the Bye <https://github.com/llvm/llvm-project/blob/main/llvm/examples/Bye/Bye.cpp> pass?
>
> Ah, good point. I hadn't. I'll see if I can use that instead.

It seems as if the `Bye` pass will only print a message when the `-wave-goodbye` flag is passed to it. But I don't know of a way to pass that flag to the pass when loading the pass using `-fpass-plugin`. If not, is there a way, with the new pass manager, to print the list of passes that were executed?


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

https://reviews.llvm.org/D129156



More information about the flang-commits mailing list