[flang-commits] [flang] [acc] `acc declare` + `present` clause for COMMON blocks (PR #175588)
Susan Tan ス-ザン タン via flang-commits
flang-commits at lists.llvm.org
Wed Jan 14 13:40:58 PST 2026
================
@@ -961,6 +986,25 @@ static void genDeclareDataOperandOperations(
// Handle COMMON/global symbols via module-level ctor/dtor path.
if (symbol.detailsIf<Fortran::semantics::CommonBlockDetails>() ||
Fortran::semantics::FindCommonBlockContaining(symbol)) {
----------------
SusanTan wrote:
Yes, i refactored it so it's less confusing. There are just simply two groups, one lowered to structured and the other global.
https://github.com/llvm/llvm-project/pull/175588
More information about the flang-commits
mailing list