This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP]Fix PR49115: Incorrect results for scan directive.
ClosedPublic

Authored by ABataev on Apr 9 2021, 6:05 AM.

Details

Summary

For combined worksharing directives need to emit the temp arrays outside
of the parallel region and update them in the master thread only.

Diff Detail

Event Timeline

ABataev created this revision.Apr 9 2021, 6:05 AM
ABataev requested review of this revision.Apr 9 2021, 6:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2021, 6:05 AM
Herald added a subscriber: sstefan1. · View Herald Transcript
ABataev updated this revision to Diff 336909.Apr 12 2021, 11:19 AM

Rebase + fixes

cchen added a subscriber: cchen.Apr 13 2021, 9:07 AM
jyu2 accepted this revision.Apr 15 2021, 9:05 AM

The change looks good to me. I am new to this. You may want to give more time for others

This revision is now accepted and ready to land.Apr 15 2021, 9:05 AM
This revision was landed with ongoing or failed builds.Apr 16 2021, 6:26 AM
This revision was automatically updated to reflect the committed changes.