[flang-commits] [flang] [Flang] mark safe external globals as dso_local (PR #189709)

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Wed Apr 1 09:21:51 PDT 2026


================
@@ -3391,6 +3391,19 @@ struct GlobalOpConversion : public fir::FIROpConversion<fir::GlobalOp> {
       g.setAlignment(*global.getAlignment());
 
     auto module = global->getParentOfType<mlir::ModuleOp>();
+
----------------
kkwli wrote:

> Fine by me. There's a PPC buildbot, but I believe it's post-commit, so may not know its results for a while after this PR is merged.

Building on AIX and Linux/PPC is fine. The LIT tests and the llvm-test-suite runs are clean.

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


More information about the flang-commits mailing list