[PATCH] D70290: [OpenMP] Use the OpenMPIRBuilder for "omp parallel"

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 14 22:35:50 PST 2019


jdoerfert created this revision.
jdoerfert added reviewers: kiranchandramohan, ABataev, RaviNarayanaswamy, gtbercea, grokos, sdmitriev, JonChesterfield, hfinkel, fghanim.
Herald added subscribers: guansong, bollu.
Herald added a project: clang.

NOTE: This patch needs tests and is missing privatization functionality (see
the TODO). Basic testing was done and any other functionality should be
in place.

This allows to use the OpenMPIRBuilder for parallel regions. Code was
extracted from D61953 <https://reviews.llvm.org/D61953> and adapted to work with the new version (D70109 <https://reviews.llvm.org/D70109>).

All but one feature should be supported. An update of this patch will
provide test coverage and privatization other than shared.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70290

Files:
  clang/lib/CodeGen/CGStmtOpenMP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70290.229447.patch
Type: text/x-patch
Size: 4191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191115/9b77f794/attachment.bin>


More information about the cfe-commits mailing list