OSDN Git Service

AMDGPU/GlobalISel: Add support for wide loads >= 256-bits
authorTom Stellard <tstellar@redhat.com>
Wed, 10 Jul 2019 00:22:41 +0000 (00:22 +0000)
committerTom Stellard <tstellar@redhat.com>
Wed, 10 Jul 2019 00:22:41 +0000 (00:22 +0000)
commitb97830df46e9750e689bc364858381c5a30d9830
treef307b73eb3c474bdd962ea05de9355b25d6b92ea
parent13b473d24877312caff6f80f79e44b3eaca4f3dc
AMDGPU/GlobalISel: Add support for wide loads >= 256-bits

Summary:
This adds support for the most commonly used wide load types:
<8xi32>, <16xi32>, <4xi64>, and <8xi64>

Reviewers: arsenm

Reviewed By: arsenm

Subscribers: hiraditya, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, rovka, kristof.beyls, dstuttard, tpr, t-tye, volkan, Petar.Avramovic, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D57399

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365586 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-load.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir [new file with mode: 0644]