[OpenMP] Prevent emission of exception handling code when using OpenMP to offload...
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Mon, 7 Aug 2017 20:57:59 +0000 (20:57 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Mon, 7 Aug 2017 20:57:59 +0000 (20:57 +0000)
commite3b0a19d4f23385448c24de82bbd15d4401f222a
tree6e7a70c2aa57e4090957e846049af89c9ef29eb3
parent00e25c5459dc73eafac570509e141186159d47a9
[OpenMP] Prevent emission of exception handling code when using OpenMP to offload to NVIDIA devices.

Summary: For the OpenMP toolchain which offloads to NVIDIA GPUs make sure that no exception handling code is emitted.

Reviewers: arpith-jacob, sfantao, caomhin, carlo.bertolli, ABataev, Hahnfeld, hfinkel, tstellar

Reviewed By: ABataev, Hahnfeld

Subscribers: rengolin, Hahnfeld, cfe-commits

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

llvm-svn: 310306
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/OpenMP/target_parallel_no_exceptions.cpp [new file with mode: 0644]