Go to file
Yaxun Liu e9e5c4f975 CodeGen: Fix invalid bitcast for coerced function argument
Clang assumes coerced function argument is in address space 0, which is not always true and results in invalid bitcasts.

This patch fixes failure in OpenCL conformance test api/get_kernel_arg_info with amdgcn---amdgizcl triple, where non-zero alloca address space is used.

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

llvm-svn: 306721
2017-06-29 18:47:45 +00:00
clang CodeGen: Fix invalid bitcast for coerced function argument 2017-06-29 18:47:45 +00:00
clang-tools-extra [clang-tidy] Add docs to toctree 2017-06-29 18:44:28 +00:00
compiler-rt [profile] Move __llvm_profile_filename into a separate object 2017-06-29 17:42:24 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx [libc++] Hoist explicit instantiation above implicit. NFC 2017-06-29 02:52:46 +00:00
libcxxabi Add some catch(...) blocks to the tests so that if they fail, we get a good error message. No functional change. 2017-06-22 00:49:03 +00:00
libunwind [libunwind] Add _LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS 2017-06-27 18:37:06 +00:00
lld Tweak to match change in LLVM API, in r306699 2017-06-29 16:52:29 +00:00
lldb Speculative fix for windows build broken by r306668 2017-06-29 16:15:42 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [opt-viewer] Python 3 support in opt-viewer.py 2017-06-29 18:47:31 +00:00
openmp Make test/parallel/omp_nested.c not use so many threads 2017-06-27 03:04:25 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Test commit 2017-06-29 16:35:38 +00:00