1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Transforms/InferAddressSpaces
Yaxun Liu 1a5878b840 [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