[Openmp-commits] [PATCH] D82470: [OpenMP][IRBuilder] Support nested parallel regions

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jun 24 08:36:56 PDT 2020


jdoerfert created this revision.
jdoerfert added reviewers: anchu-rajendran, kiranktp, fghanim.
Herald added subscribers: llvm-commits, cfe-commits, sstefan1, guansong, bollu, hiraditya, yaxunl.
Herald added projects: clang, LLVM.

During code generation we might change/add basic blocks so keeping a
list of them is fairly easy to break. Nested parallel regions were
enough. The new scheme does recompute the list of blocks to be outlined
once it is needed. We also need to keep track of the alloca insertion
point (which we already communicate via the callback to the user) as we
place allocas as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82470

Files:
  clang/test/OpenMP/cancel_codegen.cpp
  clang/test/OpenMP/irbuilder_nested_openmp_parallel_empty.c
  llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
  llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82470.273040.patch
Type: text/x-patch
Size: 24119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200624/253fcf64/attachment-0001.bin>


More information about the Openmp-commits mailing list