[flang-commits] [flang] [Flang][bbc] Prevent bbc -emit-fir command invoking all passes twice (PR #80927)
via flang-commits
flang-commits at lists.llvm.org
Wed Feb 7 07:55:03 PST 2024
agozillon wrote:
Updated the PR, I opted to break off the OpenMP pass pipeline into it's own function/pass manager to be executed at the point where I believe it's required (after the module generation and prior to the first verification pass).
I opted to do it this way as opposed to inserting a pass manager clear and then re-add of the verification pass to the pass manager in-between the runs as this hopefully makes the logic a little simpler to follow and makes any new additions easier as well (effectively keeping the OpenMP logic encased in it's own world people can for the most part ignore).
I am open to other alternatives though, but this seemed the simplest (that I could think of at least).
https://github.com/llvm/llvm-project/pull/80927
More information about the flang-commits
mailing list