diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-16 15:58:46 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-16 15:58:46 +0000 |
commit | 8c3edfef6b911f8e0e2d64169ffaea7077481f3f (patch) | |
tree | 82348a66d529e2c9b696fb556b2a4b39e2bd9258 /llvm/lib/IR/Dominators.cpp | |
parent | cd21378ff63c8fc7f32c00750fd12c46d5ebcbfe (diff) | |
download | bcm5719-llvm-8c3edfef6b911f8e0e2d64169ffaea7077481f3f.tar.gz bcm5719-llvm-8c3edfef6b911f8e0e2d64169ffaea7077481f3f.zip |
[OPENMP] Fix for PR28581: OpenMP linear clause - wrong results.
If worksharing construct has at least one linear item, an implicit
synchronization point must be emitted to avoid possible conflict with
the loading/storing values to the original variables. Added implicit
barrier if the linear item is found before actual start of the
worksharing construct.
llvm-svn: 311013
Diffstat (limited to 'llvm/lib/IR/Dominators.cpp')
0 files changed, 0 insertions, 0 deletions