-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Flang][OpenMP] Restrict check to worksharing construct reductions
The outer context private check for reduction variables was firing for all constructs. This check is not applicable to non-worksharing constructs. OpenMP 5.2: Section 5.5.8 A list item that appears in a reduction clause on a worksharing construct must be shared in the parallel region to which a correspodning worksharing region binds. Reviewed By: peixin Differential Revision: https://reviews.llvm.org/D144824
- Loading branch information
1 parent
99d053a
commit 460c2ea
Showing
3 changed files
with
19 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters