diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-07-07 02:40:13 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-07-07 02:40:13 +0000 |
commit | b909f11a319ae62e683d1f9d82e28a05b360b8ae (patch) | |
tree | b6eddfbdb32581f7f4ae2ef2a9cca65fe5d6004d /llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp | |
parent | 5e3d33a781ba868a66b1baacd9613164a132127f (diff) | |
download | bcm5719-llvm-b909f11a319ae62e683d1f9d82e28a05b360b8ae.tar.gz bcm5719-llvm-b909f11a319ae62e683d1f9d82e28a05b360b8ae.zip |
[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
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp')
0 files changed, 0 insertions, 0 deletions