[Mlir-commits] [mlir] [Flang] [MLIR] [OpenMP] Add initial MLIR op support for OMP TARGET UPDATE directive (PR #74699)
Kiran Kumar T P
llvmlistbot at llvm.org
Thu Dec 7 09:09:27 PST 2023
================
@@ -1416,6 +1416,50 @@ def TargetOp : OpenMP_Op<"target",[IsolatedFromAbove, OutlineableOpenMPOpInterfa
let hasVerifier = 1;
}
+//===---------------------------------------------------------------------===//
+// 2.14.6 target update data Construct
----------------
kiranktp wrote:
Yes @skatrak, By default the section number are from OpenMP 4.5 Version and when we enhance the support to later standard, we will prefix the section numbers with the OpenMP standard version. Everyone agreed on this approach.
So if possible we should try to add support to latest OpenMP standard.
Eg:
// 2.15.3.6 REDUCTION (reduction-identifier: variable-name-list)
// OMP 5.0 2.19.5.6 IN_REDUCTION (reduction-identifier: variable-name-list)
The first section number is from OpenMP 4.5
The second section number is from OpenMP 5.0
https://github.com/llvm/llvm-project/pull/74699
More information about the Mlir-commits
mailing list