[all-commits] [llvm/llvm-project] 13b909: OpenMPOpt: Check nested parallelism in target region

Rafael Andrés via All-commits all-commits at lists.llvm.org
Mon Jan 9 13:57:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13b909ef27e7cb7a4c55d1778254be1ac5c0884d
      https://github.com/llvm/llvm-project/commit/13b909ef27e7cb7a4c55d1778254be1ac5c0884d
  Author: Rafael A Herrera Guaitero <randres2011 at gmail.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    A llvm/test/Transforms/OpenMP/nested_parallelism.ll

  Log Message:
  -----------
  OpenMPOpt: Check nested parallelism in target region

Analysis that determines if a parallel region can reach another parallel region in any target region of the TU.
A new global var is emitted with the name of the kernel + "_nested_parallelism", which is either 0 or 1 depending on the result.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list