llvm-project/llvm/test/Transforms/InferAddressSpaces
Yaxun Liu d23f23d81c InferAddressSpaces: Fix bug about replacing addrspacecast
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
2017-10-30 21:19:41 +00:00
..
AMDGPU InferAddressSpaces: Fix bug about replacing addrspacecast 2017-10-30 21:19:41 +00:00
NVPTX InferAddressSpaces: Avoid assertion failure with replacing identical 2017-06-08 13:20:55 +00:00