[flang-commits] [flang] [llvm] [mlir] [MLIR][Flang][OpenMP] Make omp.simdloop into a loop wrapper (PR #87365)
Michael Kruse via flang-commits
flang-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 flang-commits
mailing list