Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OPENMP]Fix capturing of global variables in OpenMP regions.
Summary: The global variable should be captured in the region only if it was privitized in the region or in any of the outer regions. Otherwise, it should not be captured. Reviewers: jdoerfert Subscribers: yaxunl, guansong, cfe-commits, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D77731
- Loading branch information
1 parent
5b5a74f
commit 56c3b2b
Showing
2 changed files
with
45 additions
and
16 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