This revision was automatically updated to reflect the committed changes.
Closed by commit rL306721: CodeGen: Fix invalid bitcast for coerced function
argument (authored by yaxunl).
Changed prior to commit:
https://reviews.llvm.org/D34777?vs=104505&id=104711#toc
Repository:
rL LLVM
https://
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
LGTM.
https://reviews.llvm.org/D34777
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/
yaxunl created this revision.
Herald added a subscriber: Anastasia.
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,