AMDGPU/GlobalISel: Split 64-bit vector extracts during RegBankSelect
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 3 Oct 2019 17:55:27 +0000 (17:55 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 3 Oct 2019 17:55:27 +0000 (17:55 +0000)
commit233ff982c787aeaebe2dc271695e663675eddf74
tree076a197a7184c81dc54390c34580b568ebdec348
parent56271fe180f48fb36cad0b8facbd832611793ed4
AMDGPU/GlobalISel: Split 64-bit vector extracts during RegBankSelect

Register indexing 64-bit elements is possible on the SALU, but not the
VALU. Handle splitting this into two 32-bit indexes. Extend waterfall
loop handling to allow moving a range of instructions.

llvm-svn: 373638
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-extract-vector-elt.mir