[CUDA] Remove three obsolete CUDA cc1 flags.
authorJustin Lebar <jlebar@google.com>
Tue, 29 Mar 2016 16:24:16 +0000 (16:24 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 29 Mar 2016 16:24:16 +0000 (16:24 +0000)
commit25c4a81e79b08c5781a7d0d551d9a21771b01e7b
treedbed6713077393b7d142f02bffab9827ec3c5763
parent32de9628e3f51fb77f5943b159cf45008576e83e
[CUDA] Remove three obsolete CUDA cc1 flags.

Summary:
* -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.

Reviewers: tra

Subscribers: rsmith, cfe-commits

Differential Revision: http://reviews.llvm.org/D18416

llvm-svn: 264739
18 files changed:
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Driver/CC1Options.td
clang/include/clang/Sema/Sema.h
clang/lib/Driver/Tools.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Sema/SemaCUDA.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/CodeGenCUDA/function-overload.cu
clang/test/CodeGenCUDA/host-device-calls-host.cu
clang/test/SemaCUDA/builtins.cu
clang/test/SemaCUDA/function-overload.cu
clang/test/SemaCUDA/function-target-disabled-check.cu [deleted file]
clang/test/SemaCUDA/function-target-hd.cu [deleted file]
clang/test/SemaCUDA/implicit-intrinsic.cu
clang/test/SemaCUDA/implicit-member-target-collision-cxx11.cu
clang/test/SemaCUDA/method-target.cu