[PATCH] D18416: [CUDA] Remove three obsolete CUDA cc1 flags.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 23 15:15:25 PDT 2016
jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added subscribers: cfe-commits, rsmith.
* -fcuda-target-overloads
Previously unconditionally set to true by the driver. Necessary for
correct functioning of the compiler -- our CUDA headers wrapper won't
compile without this.
* -fcuda-disable-target-call-checks
Previously unconditionally set to true by the driver. Necessary to
compile almost any external CUDA code -- almost all libraries assume
that host+device code can call host or device functions.
* -fcuda-allow-host-calls-from-host-device
No effect when target overloading is enabled.
http://reviews.llvm.org/D18416
Files:
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
include/clang/Sema/Sema.h
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaCUDA.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaOverload.cpp
test/CodeGenCUDA/function-overload.cu
test/CodeGenCUDA/host-device-calls-host.cu
test/SemaCUDA/builtins.cu
test/SemaCUDA/function-overload.cu
test/SemaCUDA/function-target-disabled-check.cu
test/SemaCUDA/function-target-hd.cu
test/SemaCUDA/implicit-intrinsic.cu
test/SemaCUDA/implicit-member-target-collision-cxx11.cu
test/SemaCUDA/method-target.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18416.51478.patch
Type: text/x-patch
Size: 25232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160323/fd01ac0a/attachment-0001.bin>
More information about the cfe-commits
mailing list