[llvm] [Frontend] Introduce `getDirectiveCategory` for ACC/OMP directives (PR #94689)
Tom Eccles via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 09:37:50 PDT 2024
================
@@ -1033,39 +1087,46 @@ def OMP_Teams : Directive<"teams"> {
VersionedClause<OMPC_ThreadLimit>,
];
let association = AS_Block;
+ let category = CA_Executable;
}
def OMP_ThreadPrivate : Directive<"threadprivate"> {
let association = AS_None;
+ let category = CA_Declarative;
}
def OMP_Tile : Directive<"tile"> {
let allowedOnceClauses = [
VersionedClause<OMPC_Sizes, 51>,
];
let association = AS_Loop;
+ let category = CA_Executable;
}
def OMP_Unknown : Directive<"unknown"> {
let isDefault = true;
let association = AS_None;
+ let category = CA_Utility;
----------------
tblah wrote:
Please could you link me to the source for this? I am having trouble finding it.
https://github.com/llvm/llvm-project/pull/94689
More information about the llvm-commits
mailing list