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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D92849
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 8 2020, 9:01 AM ftynse removed a parent revision: D92845: [mlir] Explicitly track branch instructions in translation to LLVM IR. ftynse added a child revision: D92055: [mlir] Add translation of omp.wsloop to LLVM IR.Dec 8 2020, 2:29 PM This revision was landed with ongoing or failed builds.Dec 9 2020, 2:33 AM Closed by commit rGf31704f8ae32: [OpenMPIRBuilder] Put the barrier in the exit block in createWorkshapeLoop (authored by ftynse). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 310467 llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
|