[PATCH] D89671: [LLVM][OpenMP] Adding support for OpenMP sections construct in OpenMPIRBuilder
Chirag Khandelwal via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 22 05:05:23 PST 2020
AMDChirag updated this revision to Diff 313301.
AMDChirag added a comment.
Updated code, test case, fixed some issues
`createSections()` now uses `EmitOMPInlinedRegion()`.
The code is updated to use proper function names. Comments have been updated as well.
Test case is a lot more thorough and checks for loop variables, barrier, and loop functions.
Fixed a bug that caused crash when an external variable (outside `#pragma omp section`) was used.
The clang-side updates will be pushed soon (D91054 <https://reviews.llvm.org/D91054>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89671/new/
https://reviews.llvm.org/D89671
Files:
llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89671.313301.patch
Type: text/x-patch
Size: 18186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201222/7018839e/attachment.bin>
More information about the llvm-commits
mailing list