[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:21 PST 2026


================
@@ -177,6 +178,19 @@ bool executeCompilerInvocation(CompilerInstance *flang) {
     }
   }
 
+  // Load and store pass plugins for the back-end.
+  for (const std::string &path :
----------------
tarunprabhu wrote:

Could we just use a StringRef here?

```suggestion
  for (llvm::StringRef path :
```

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


More information about the flang-commits mailing list