[all-commits] [llvm/llvm-project] 7cc5b1: [OPENMP]Fix PR48571: critical/master in outlined c...
cilkplus via All-commits
all-commits at lists.llvm.org
Mon Jun 14 11:13:44 PDT 2021
Branch: refs/heads/release/12.x
Home: https://github.com/llvm/llvm-project
Commit: 7cc5b1593554c4a589e5e57c64c28bbd85c9987f
https://github.com/llvm/llvm-project/commit/7cc5b1593554c4a589e5e57c64c28bbd85c9987f
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2021-06-14 (Mon, 14 Jun 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
(cherry picked from commit 7654bb6303d290b19cad29137be810e69a0bf917)
More information about the All-commits
mailing list