Skip to content

Commit 0204da8

Browse files
committed
Reverse change to minimum version for reduction clause
While this was introduced in OpenMP 5.0 for taskloop, it has not previously been restricted and is irrelevant to adding support in flang. If we want to restrict this, we should do it in a separate patch.
1 parent 52c8d66 commit 0204da8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ def OMP_TaskLoop : Directive<[Spelling<"taskloop">]> {
12911291
VersionedClause<OMPC_Mergeable>,
12921292
VersionedClause<OMPC_NoGroup>,
12931293
VersionedClause<OMPC_Private>,
1294-
VersionedClause<OMPC_Reduction, 50>,
1294+
VersionedClause<OMPC_Reduction>,
12951295
VersionedClause<OMPC_Shared>,
12961296
VersionedClause<OMPC_Untied>,
12971297
];

0 commit comments

Comments
 (0)