diff options
author | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2018-03-21 20:34:19 +0000 |
---|---|---|
committer | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2018-03-21 20:34:19 +0000 |
commit | c8d395a168f141ceaec5705899a9aa5d13422085 (patch) | |
tree | 354483253d112a12241f47864aa3e3dc29f197ad /llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp | |
parent | 6ecc6e62c1742ccf6e0d0e8f4f055c53e21d0141 (diff) | |
download | bcm5719-llvm-c8d395a168f141ceaec5705899a9aa5d13422085.tar.gz bcm5719-llvm-c8d395a168f141ceaec5705899a9aa5d13422085.zip |
[OpenMP][libomptarget] Enable globalization for workers
Summary:
This patch allows worker to have a global memory stack managed by the runtime. This patch is needed for completeness and consistency with the globalization policy: if a worker-side variable escapes the current context it then needs to be globalized.
Until now, only the master thread was allowed to have such a stack. These global values can now potentially be shared amongst workers if the semantics of the OpenMP program require it.
Reviewers: ABataev, grokos, carlo.bertolli, caomhin
Reviewed By: grokos
Subscribers: guansong, openmp-commits
Differential Revision: https://reviews.llvm.org/D44487
llvm-svn: 328144
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp')
0 files changed, 0 insertions, 0 deletions