[flang-commits] [flang] [Flang] Use PrintModulePass to print LLVM IR from the frontend (PR #95142)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Wed Jun 12 12:16:03 PDT 2024


banach-space wrote:

> @banach-space @abidh This patch saw a link error on shared_libs buildbots due to not having the `IRPrinter` as a link component; adding `IRPrinter` to `LINK_COMPONENTS` in flang/lib/Frontend/CMakeLists.txt fixes the issue. I think this should be fine, since we already have `Passes` and `IRReader` as link components, but just checking (since there's no re-open review button) that this is valid?

Makes sense to me, but you could just send a PR and let others take a look as well.

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


More information about the flang-commits mailing list