[CUDA] Added -f[no-]cuda-short-ptr option
authorArtem Belevich <tra@google.com>
Wed, 9 May 2018 23:10:09 +0000 (23:10 +0000)
committerArtem Belevich <tra@google.com>
Wed, 9 May 2018 23:10:09 +0000 (23:10 +0000)
commit679dafe69e868318fb6a627b6fe35922afb1ec99
treec9fcf8878fcc1f352ffc636970ddb15328fff9f9
parentac3951a7351b2a3144ad103fb3c759b9415f55f1
[CUDA] Added -f[no-]cuda-short-ptr option

The option enables use of 32-bit pointers for accessing
const/local/shared memory. The feature is disabled by default.

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

llvm-svn: 331938
clang/include/clang/Basic/TargetOptions.h
clang/include/clang/Driver/Options.td
clang/lib/Basic/Targets/NVPTX.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
clang/lib/Frontend/CompilerInvocation.cpp