AMDGPU/GlobalISel: Attempt to RegBankSelect image intrinsics
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 19 Sep 2019 02:23:06 +0000 (02:23 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 19 Sep 2019 02:23:06 +0000 (02:23 +0000)
commita30d022db6d4c0b7f16c50c322667eedd45553d2
tree57752cd46005628d6b9431b68a828d40969a7ba3
parent01213407c4114f5b587b29eae11f0a417666f965
AMDGPU/GlobalISel: Attempt to RegBankSelect image intrinsics

Images should always have 2 consecutive, mandatory SGPR arguments.

llvm-svn: 372289
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.image.load.1d.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.image.sample.1d.ll [new file with mode: 0644]