diff options
| author | Bryan Chan <bryan.chan@huawei.com> | 2020-04-06 18:43:35 -0400 |
|---|---|---|
| committer | Bryan Chan <bryan.chan@huawei.com> | 2020-04-14 14:31:06 -0400 |
| commit | b86ff5f6efbed626fee135ae11311569d84b1e15 (patch) | |
| tree | 4b7594090c653b77c768612df61caa328ece4091 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 15754acc5985188509f5eefaefa308393759b822 (diff) | |
[OpenMP] Sync writes to child thread's data before reduction
On systems with weak memory consistency, this patch fixes an intermittent crash
in the reduction function called by __kmp_hyper_barrier_gather, which suffers
from a race on a child thread's data.
Reviewed-By: AndreyChurbanov
Differential Revision: https://reviews.llvm.org/D77603
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
