[all-commits] [llvm/llvm-project] bd7562: [OpenMP][FIX] Enforce a function boundary for a ne...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Jan 25 20:47:46 PST 2021

  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bd756286d2e774716a12f55db27d070595058d53
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/test/OpenMP/parallel_if_codegen.cpp

  Log Message:
  [OpenMP][FIX] Enforce a function boundary for a new data environment

Whenever we enter a new OpenMP data environment we want to enter a
function to simplify reasoning. Later we probably want to remove the
entire specialization wrt. the if clause and pass the result to the
runtime, for now this should fix PR48686.

Reviewed By: ABataev

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

More information about the All-commits mailing list