]> granicus.if.org Git - llvm/commit
AMDGPU: Implement hook for InferAddressSpaces
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 31 Jan 2017 01:20:54 +0000 (01:20 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 31 Jan 2017 01:20:54 +0000 (01:20 +0000)
commit264e91f294ee9af524ac3e086799d8aeec93bd3d
tree7245fcf41b125ffd727c8129eb138438b0168c4c
parent9be098398ca6f3e3c2c6c692d7e101e872fdf640
AMDGPU: Implement hook for InferAddressSpaces

For now just port some of the existing NVPTX tests
and from an old HSAIL optimization pass which
approximately did the same thing.

Don't enable the pass yet until more testing is done.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293580 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
test/Transforms/InferAddressSpaces/AMDGPU/basic.ll [new file with mode: 0644]
test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll [new file with mode: 0644]
test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions.ll [new file with mode: 0644]
test/Transforms/InferAddressSpaces/lit.local.cfg [new file with mode: 0644]