llvm-project/llvm/test/Transforms/InferAddressSpaces
Yaxun Liu b909f11a31 [InferAddressSpaces] Fix assertion about null pointer
InferAddressSpaces does not check address space in collectFlatAddressExpressions,
which causes values with non flat address space put into Postorder and causes
assertion in cloneValueWithNewAddressSpace.

This patch fixes assertion in OpenCL 2.0 conformance test generic_address_space
subtest for amdgcn target.

Differential Revision: https://reviews.llvm.org/D34991

llvm-svn: 307349
2017-07-07 02:40:13 +00:00
..
AMDGPU [InferAddressSpaces] Fix assertion about null pointer 2017-07-07 02:40:13 +00:00
NVPTX InferAddressSpaces: Avoid assertion failure with replacing identical 2017-06-08 13:20:55 +00:00