[PATCH] D85617: [OpenMP][OMPBuilder] Adding support for `omp single`
Kiran Chandramohan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 16:29:59 PDT 2020
kiranchandramohan accepted this revision.
kiranchandramohan added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:811
+ if (DidIt) {
+ Builder.CreateStore(Builder.getInt32(0), DidIt);
+ }
----------------
Where will this variable be updated to 1 to show it is the single thread?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85617/new/
https://reviews.llvm.org/D85617
More information about the llvm-commits
mailing list