[all-commits] [llvm/llvm-project] 10fedd: [OpenMP] Use the OpenMPIRBuilder for `omp parallel`

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Dec 30 11:58:07 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 10fedd94b4326225de4a8a1fc53594cebd501246
      https://github.com/llvm/llvm-project/commit/10fedd94b4326225de4a8a1fc53594cebd501246
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-12-30 (Mon, 30 Dec 2019)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/test/OpenMP/cancel_codegen.cpp
    M clang/test/OpenMP/parallel_codegen.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/lib/Frontend/OpenMP/OMPConstants.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  Log Message:
  -----------
  [OpenMP] Use the OpenMPIRBuilder for `omp parallel`

This allows to use the OpenMPIRBuilder for parallel regions. Code was
extracted from D61953 and adapted to work with the new version (D70109).

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

Reviewed By: fghanim

Differential Revision: https://reviews.llvm.org/D70290




More information about the All-commits mailing list