Skip to content

Commit 37d3bf0

Browse files
committed
[Frontend][OpenMP] Remove reduction from allowed clauses for target
The "reduction" clause is not allowed on the "target" construct.
1 parent 7396ab1 commit 37d3bf0

File tree

1 file changed

+0
-1
lines changed
  • llvm/include/llvm/Frontend/OpenMP

1 file changed

+0
-1
lines changed

llvm/include/llvm/Frontend/OpenMP/OMP.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,6 @@ def OMP_Target : Directive<"target"> {
682682
VersionedClause<OMPC_FirstPrivate>,
683683
VersionedClause<OMPC_IsDevicePtr>,
684684
VersionedClause<OMPC_HasDeviceAddr, 51>,
685-
VersionedClause<OMPC_Reduction>,
686685
VersionedClause<OMPC_InReduction, 50>,
687686
VersionedClause<OMPC_Allocate>,
688687
VersionedClause<OMPC_UsesAllocators, 50>,

0 commit comments

Comments
 (0)