[PATCH] D92476: [OpenMPIRBuilder] introduce createStaticWorkshareLoop
Kiran Chandramohan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 6 10:12:07 PST 2020
kiranchandramohan accepted this revision.
kiranchandramohan added a comment.
This revision is now accepted and ready to land.
LGTM. Please wait for approval from @Meinersbur.
================
Comment at: llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:1106-1108
+ FunctionCallee BarrierFunc =
+ getOrCreateRuntimeFunction(M, omp::OMPRTL___kmpc_barrier);
+ Builder.CreateCall(BarrierFunc, {SrcLoc, ThreadNum});
----------------
Nit: There is a create barrier function in the OpenMPIRBuilder.
CreateBarrier(Builder.saveIP(), llvm::omp::OMPD_barrier);
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92476/new/
https://reviews.llvm.org/D92476
More information about the llvm-commits
mailing list