diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-06-29 18:47:45 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-06-29 18:47:45 +0000 |
commit | 6703d83ed551908566145c3c607e8d70da86d710 (patch) | |
tree | 7e277495f6dfe964dc45ba96bdc2c167b03c6aba /include | |
parent | da1f3cf54166a2718e6ab7a28ddf2a10babe3345 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions