summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/Mem2Reg.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-12-06 15:27:58 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-12-06 15:27:58 +0000
commit5442f3e549c8d32e7615445404b68b3d2773b6d0 (patch)
treec6b0ff8e8f2e8257a07d3cbbfee7ffc3e0b47469 /llvm/lib/Transforms/Utils/Mem2Reg.cpp
parentf30c4ad3253c8f77f3746ba1c2f52961b3dfb039 (diff)
downloadbcm5719-llvm-5442f3e549c8d32e7615445404b68b3d2773b6d0.tar.gz
bcm5719-llvm-5442f3e549c8d32e7615445404b68b3d2773b6d0.zip
[OPENMP][NVPTX]Fix __kmpc_flush to flush the memory per system, not per block.
Summary: According to the standard, after memory flushing the changes in the memory must be visible to all the threads in all teams. Patch fixes this. Reviewers: gtbercea, kkwli0 Subscribers: guansong, jfb, caomhin, openmp-commits Differential Revision: https://reviews.llvm.org/D55370 llvm-svn: 348491
Diffstat (limited to 'llvm/lib/Transforms/Utils/Mem2Reg.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud