This is an archive of the discontinued LLVM Phabricator instance.

[OpenMPIRBuilder] Put the barrier in the exit block in createWorkshapeLoop
ClosedPublic

Authored by ftynse on Dec 8 2020, 7:45 AM.

Details

Summary

The original code was inserting the barrier at the location given by the
caller. Make sure it is always inserted at the end of the loop exit block
instead.

Diff Detail

Event Timeline

ftynse created this revision.Dec 8 2020, 7:45 AM
ftynse requested review of this revision.Dec 8 2020, 7:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2020, 7:45 AM
This revision is now accepted and ready to land.Dec 8 2020, 9:01 AM
ftynse updated this revision to Diff 310348.Dec 8 2020, 2:24 PM

Rebase on main

This revision was landed with ongoing or failed builds.Dec 9 2020, 2:33 AM
This revision was automatically updated to reflect the committed changes.