[llvm] [Frontend][OpenMP] Remove `reduction` from allowed clauses for `target` (PR #90754)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 1 10:46:01 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-openmp
Author: Krzysztof Parzyszek (kparzysz)
<details>
<summary>Changes</summary>
The "reduction" clause is not allowed on the "target" construct.
---
Full diff: https://github.com/llvm/llvm-project/pull/90754.diff
1 Files Affected:
- (modified) llvm/include/llvm/Frontend/OpenMP/OMP.td (-1)
``````````diff
diff --git a/llvm/include/llvm/Frontend/OpenMP/OMP.td b/llvm/include/llvm/Frontend/OpenMP/OMP.td
index e91169e8da1aa5..609df6a4c54aa5 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMP.td
+++ b/llvm/include/llvm/Frontend/OpenMP/OMP.td
@@ -682,7 +682,6 @@ def OMP_Target : Directive<"target"> {
VersionedClause<OMPC_FirstPrivate>,
VersionedClause<OMPC_IsDevicePtr>,
VersionedClause<OMPC_HasDeviceAddr, 51>,
- VersionedClause<OMPC_Reduction>,
VersionedClause<OMPC_InReduction, 50>,
VersionedClause<OMPC_Allocate>,
VersionedClause<OMPC_UsesAllocators, 50>,
``````````
</details>
https://github.com/llvm/llvm-project/pull/90754
More information about the llvm-commits
mailing list