[flang-commits] [flang] [openmp] Changes to support link clause of declare target with common block (PR #84825)

Anchu Rajendran S via flang-commits flang-commits at lists.llvm.org
Thu Mar 14 11:02:19 PDT 2024


anchuraj wrote:

The implementation does not solve the problem. Common block has a global created and references in target need to be updated to refer the global. Right now, for scalar, though llvm ir refers to the global, indexing is done incorrect. For arrays, it does not refer to the common block global. Implementation should take into account these issues and solve the problem of correctly emitting ir when common blocks are specified inside declare target.

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


More information about the flang-commits mailing list