summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2017-06-29 18:47:45 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2017-06-29 18:47:45 +0000
commite9e5c4f975223de3c368773b77e16f476ede9ac2 (patch)
treec2d6b4093ada2d213c7cfa8d4dd1804eb333b05b /clang/lib/Frontend/CompilerInvocation.cpp
parentd3a05713012f33bd36670ea104788822d24e971d (diff)
downloadbcm5719-llvm-e9e5c4f975223de3c368773b77e16f476ede9ac2.tar.gz
bcm5719-llvm-e9e5c4f975223de3c368773b77e16f476ede9ac2.zip
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud