[PATCH] D18219: Add -cuda-relaxed-constexpr, which lets CUDA device code call constexpr functions.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 16 13:16:07 PDT 2016


jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.

In particular, this lets device code call most std::complex functions.

http://reviews.llvm.org/D18219

Files:
  include/clang/Basic/LangOptions.def
  include/clang/Driver/CC1Options.td
  include/clang/Driver/Options.td
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Sema/SemaCUDA.cpp
  test/SemaCUDA/relaxed-constexpr.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18219.50851.patch
Type: text/x-patch
Size: 4652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160316/9b2b2e5b/attachment.bin>


More information about the cfe-commits mailing list