hanchenye-llvm-project/clang/test/CodeGenCUDA
Matthias Braun a451953224 CodeGenModule: Always output wchar_size, check LLVM assumptions.
Re-commit r303463 now that LLVM is fixed and adjust some lit tests.

llvm::TargetLibraryInfo needs to know the size of wchar_t to work on
functions like `wcslen`. This patch changes clang to always emit the
wchar_size module flag (it would only do so for ARM previously).
This also adds an `assert()` to ensure the LLVM defaults based on the
target triple are in sync with clang.

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

llvm-svn: 303478
2017-05-20 01:29:55 +00:00
..
Inputs
address-spaces.cu
alias.cu
convergent.cu
cuda-builtin-vars.cu
device-stub.cu
device-var-init.cu
device-vtable.cu
filter-decl.cu
flush-denormals.cu CodeGenModule: Always output wchar_size, check LLVM assumptions. 2017-05-20 01:29:55 +00:00
fp-contract.cu Use FPContractModeKind universally 2017-03-29 21:54:24 +00:00
function-overload.cu
kernel-args-alignment.cu
kernel-call.cu
launch-bounds.cu [CUDA] Improve target attribute checking for function templates. 2016-12-07 19:27:16 +00:00
link-device-bitcode.cu
llvm-used.cu
nothrow.cu
printf-aggregate.cu
printf.cu
propagate-metadata.cu [CodeGen] [CUDA] Add the ability set default attrs on functions in linked modules. 2017-01-25 21:29:48 +00:00
ptx-kernels.cu