AMDGPU/GlobalISel: Fix crash in regbankselect on non-power-of-2 types
authorTom Stellard <tstellar@redhat.com>
Fri, 27 Jul 2018 06:04:40 +0000 (06:04 +0000)
committerTom Stellard <tstellar@redhat.com>
Fri, 27 Jul 2018 06:04:40 +0000 (06:04 +0000)
commite9bdc5f1d810f40aeccdafc1df100dc9a1cdc1d5
tree778f5ef85594e83bcb35be3648aeff6bf7e428d3
parent561e298e29b17123198396cda679d0e6c1ca021e
AMDGPU/GlobalISel: Fix crash in regbankselect on non-power-of-2 types

Reviewers: arsenm

Reviewed By: arsenm

Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, rovka, kristof.beyls, dstuttard, tpr, llvm-commits, t-tye

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

llvm-svn: 338102
llvm/lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect.mir