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

via Openmp-commits openmp-commits at lists.llvm.org
Thu Mar 14 11:30:06 PDT 2024


================
@@ -1037,6 +1037,31 @@ static void genBodyOfTargetOp(
     genNestedEvaluations(converter, eval);
 }
 
+// If the symbol is specified in declare target directive, the function returns
+// the corresponding declare target operation.
+static mlir::omp::DeclareTargetInterface
+getDeclareTargetOp(const Fortran::semantics::Symbol &sym,
----------------
agozillon wrote:

Thank you for looking into this @anchuraj, I think this might be a bit of a hard one to solve, but I've been wrong before (on a few occasions, and it's always a pleasant surprise). Do let me know if there is anything I can help with and I'll do my best, although, there is most definitely people that are more knowledgeable when it comes to common blocks.

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


More information about the Openmp-commits mailing list