forked from OSchip/llvm-project
d23f23d81c
InferAddressSpaces assumes the pointee type of addrspacecast is the same as the operand, which is not always true and causes invalid IR. This bug cause build failure in HCC. This patch fixes that. Differential Revision: https://reviews.llvm.org/D39432 llvm-svn: 316957 |
||
---|---|---|
.. | ||
AMDGPU | ||
NVPTX |