OSDN Git Service

AMDGPU: Ignore subtarget for InferAddressSpaces
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Jun 2019 14:13:24 +0000 (14:13 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Jun 2019 14:13:24 +0000 (14:13 +0000)
commit6f9792a23815e2f36b17263149dbe01484bb9d8e
tree12e2276aae6cd7d9b106bef9a9e194fe2e754357
parent14dc077c2042cdbaa26dcfaa12b1809ed1044d56
AMDGPU: Ignore subtarget for InferAddressSpaces

Even if the target doesn't have flat instructions, addrspace(0) is
still flat. It just happens to not work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363561 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
test/Transforms/InferAddressSpaces/AMDGPU/no-flat-addrspace.ll [new file with mode: 0644]