[all-commits] [llvm/llvm-project] dcf961: [OPENMP]Fix PR49052: Clang crashed when compiling ...
cilkplus via All-commits
all-commits at lists.llvm.org
Mon Mar 29 06:37:00 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dcf96178cb3490028d9e2937cd8908b7c8fc75e6
https://github.com/llvm/llvm-project/commit/dcf96178cb3490028d9e2937cd8908b7c8fc75e6
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2021-03-29 (Mon, 29 Mar 2021)
Changed paths:
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/test/OpenMP/nvptx_target_codegen.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list