[flang-commits] [flang] [Flang] Adjust pass plugin support to match Clang (PR #174006)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Mon Jan 5 08:34:20 PST 2026
================
@@ -177,6 +178,19 @@ bool executeCompilerInvocation(CompilerInstance *flang) {
}
}
+ // Load and store pass plugins for the back-end.
+ for (const std::string &path :
+ flang->getInvocation().getCodeGenOpts().LLVMPassPlugins) {
+ if (auto passPlugin = llvm::PassPlugin::Load(path)) {
----------------
tarunprabhu wrote:
Could we use a more concrete type here instead of `auto`?
https://github.com/llvm/llvm-project/pull/174006
More information about the flang-commits
mailing list