summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2015-04-15 22:27:06 +0000
committerEli Bendersky <eliben@google.com>2015-04-15 22:27:06 +0000
commit4bdc50eccb1d41bc51232a55e734a70da8ae5ee2 (patch)
treec40ecbc8ef3e061dd087dc9c55cb125cc8d582d0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf17f34e42bbac229b51d67f989684d5cfc43a0c5 (diff)
downloadbcm5719-llvm-4bdc50eccb1d41bc51232a55e734a70da8ae5ee2.tar.gz
bcm5719-llvm-4bdc50eccb1d41bc51232a55e734a70da8ae5ee2.zip
Create a frontend flag to disable CUDA cross-target call checks
For CUDA source, Sema checks that the targets of call expressions make sense (e.g. a host function can't call a device function). Adding a flag that lets us skip this check. Motivation: for source-to-source translation tools that have to accept code that's not strictly kosher CUDA but is still accepted by nvcc. The source-to-source translation tool can then fix the code and leave calls that are semantically valid for the actual compilation stage. Differential Revision: http://reviews.llvm.org/D9036 llvm-svn: 235049
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud