[flang-commits] [flang] [Flang][MLIR][OpenMP] Create a deferred declare target marking process for Bridge.cpp (PR #78502)
    Sergio Afonso via flang-commits 
    flang-commits at lists.llvm.org
       
    Thu Feb 22 03:42:08 PST 2024
    
    
  
================
@@ -49,6 +52,11 @@ struct Evaluation;
 struct Variable;
 } // namespace pft
 
+using OMPDeferredDeclTarInfo =
+    std::tuple<uint32_t /*mlir::omp::DeclareTargetCaptureClause*/,
+               uint32_t, /*mlir::omp::DeclareTargetDeviceType*/
+               Fortran::semantics::Symbol>;
----------------
skatrak wrote:
I tend to prefer this being a struct rather than a tuple, just because there are multiple fields of the same type and we'd have to refer to this definition to tell them apart when using it later.
https://github.com/llvm/llvm-project/pull/78502
    
    
More information about the flang-commits
mailing list