[all-commits] [llvm/llvm-project] 7654bb: [OPENMP]Fix PR48571: critical/master in outlined c...

cilkplus via All-commits all-commits at lists.llvm.org
Wed Mar 24 10:16:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7654bb6303d290b19cad29137be810e69a0bf917
      https://github.com/llvm/llvm-project/commit/7654bb6303d290b19cad29137be810e69a0bf917
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/critical_codegen.cpp
    M clang/test/OpenMP/master_codegen.cpp

  Log Message:
  -----------
  [OPENMP]Fix PR48571: critical/master in outlined contexts cause crash.

If emit inlined region for master/critical directives, no need to clear
lambda/block context data, otherwise the variables cannot be found and
it causes a crash at compile time.

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




More information about the All-commits mailing list