summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2021-03-26 14:25:18 -0700
committerAlexey Bataev <a.bataev@outlook.com>2021-03-29 06:36:06 -0700
commitdcf96178cb3490028d9e2937cd8908b7c8fc75e6 (patch)
tree8b507a8ba3e41130382db36897a0e65ba6aaa70e /clang/lib/CodeGen/CodeGenModule.cpp
parent2f367f34fdeb1b185f1e39c192a77e19bfa3f16c (diff)
[OPENMP]Fix PR49052: Clang crashed when compiling target code with assert(0).
Need to insert a basic block during generation of the target region to avoid crash for the GPU to be able always calling a cleanup action. This cleanup action is required for the correct emission of the target region for the GPU. Differential Revision: https://reviews.llvm.org/D99445
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions