[Mlir-commits] [mlir] [MLIR][OpenMP] Add OMP Declare Mapper MLIR Op definition (PR #117045)
Sergio Afonso
llvmlistbot at llvm.org
Fri Feb 7 05:04:31 PST 2025
================
@@ -1689,6 +1689,49 @@ def CancellationPointOp : OpenMP_Op<"cancellation_point", clauses = [
let hasVerifier = 1;
}
+//===----------------------------------------------------------------------===//
+// 2.19.7.3 Declare Mapper Directive
+//===----------------------------------------------------------------------===//
+def DeclareMapperOp : OpenMP_Op<"declare_mapper", [
+ AffineScope,
+ AutomaticAllocationScope,
+ IsolatedFromAbove,
+ OutlineableOpenMPOpInterface,
+ RecipeInterface,
+ Symbol
----------------
skatrak wrote:
I think a couple of the traits here don't apply. Let me know what the reasoning was to have them, I might just be missing something.
```suggestion
IsolatedFromAbove, RecipeInterface, Symbol
```
https://github.com/llvm/llvm-project/pull/117045
More information about the Mlir-commits
mailing list