]> granicus.if.org Git - clang/commit
[OPENMP] Fix for PR31417: assert failure when compiling trivial openmp
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 22 Dec 2016 19:44:05 +0000 (19:44 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 22 Dec 2016 19:44:05 +0000 (19:44 +0000)
commita9408833699a0e2cfc7c7349e53e743deaf1cd77
treef7bf0a54a5b3fdedd2e3a4e6694df6ce56a167a5
parentd837577ecaad2f122e61b0be4a3993f0e0fd0e36
[OPENMP] Fix for PR31417: assert failure when compiling trivial openmp
program

Offload related code is not quite ready yet, but some simple examples
must not crash the compiler. Patch fixes the problem in offloading code
with exceptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
lib/CodeGen/CGOpenMPRuntimeNVPTX.h
test/OpenMP/nvptx_target_codegen.cpp