[flang] [llvm] [mlir] [MLIR][Flang][OpenMP] Make omp.simdloop into a loop wrapper (PR #87365)
    Michael Kruse via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Apr 16 06:38:47 PDT 2024
    
    
  
================
@@ -498,6 +502,8 @@ struct OpWithBodyGenInfo {
   mlir::Location loc;
   /// [in] current PFT node/evaluation.
   Fortran::lower::pft::Evaluation &eval;
+  /// [in] kind of operation.
+  OpKind kind;
----------------
Meinersbur wrote:
Note that LLVMFrontend defines helpers such as `isOpenMPParallelDirective` and `getDirectiveAssociation` to find out whether an `llvm::omp::Directives` involves a loop/parallel.
https://github.com/llvm/llvm-project/pull/87365
    
    
More information about the llvm-commits
mailing list