llvm-project/llvm/test/Transforms/InferAddressSpaces/AMDGPU
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
..
basic.ll [InferAddressSpaces] Fix assertion about null pointer 2017-07-07 02:40:13 +00:00
icmp.ll InferAddressSpaces: Fix broken casting of constants 2017-01-31 23:48:40 +00:00
infer-address-space.ll AMDGPU: Mark all unspecified CC functions in tests as amdgpu_kernel 2017-03-21 21:39:51 +00:00
infer-addrspacecast.ll InferAddressSpaces: Infer from just addrspacecasts 2017-04-28 22:18:08 +00:00
infer-getelementptr.ll InferAddressSpaces: Search constant expressions for addrspacecasts 2017-04-28 22:52:41 +00:00
intrinsics.ll AMDGPU: Add all atomicrmw fields to atomic.inc/dec 2017-03-30 22:21:40 +00:00
lit.local.cfg Bug 31948: Fix assertion when bitcasting constantexpr pointers 2017-02-17 00:32:19 +00:00
mem-intrinsics.ll AMDGPU: Mark all unspecified CC functions in tests as amdgpu_kernel 2017-03-21 21:39:51 +00:00
old-pass-regressions.ll AMDGPU: Mark all unspecified CC functions in tests as amdgpu_kernel 2017-03-21 21:39:51 +00:00
select.ll AMDGPU: Mark all unspecified CC functions in tests as amdgpu_kernel 2017-03-21 21:39:51 +00:00
volatile.ll AMDGPU: Mark all unspecified CC functions in tests as amdgpu_kernel 2017-03-21 21:39:51 +00:00