[flang-commits] [flang] [flang][openmp] Support importing module declare target globals (PR #213930)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue Aug 25 05:25:47 PDT 2026


================
@@ -626,6 +626,11 @@ class FirConverter : public Fortran::lower::AbstractConverter {
             bridge.getLoweringOptions().getFPExceptionTraps());
       });
 
+    createBuilderOutsideOfFuncOpAndDo([&]() {
----------------
skatrak wrote:

This seems to be better suited to run between module lowering and the primary lowering pass, after the calls to `lowerModuleDeclScope`. Or is there a reason why this needs to run at the end?

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


More information about the flang-commits mailing list