AMDGPU/GlobalISel: Use a more correct getValueMapping
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 1 Mar 2018 21:08:51 +0000 (21:08 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 1 Mar 2018 21:08:51 +0000 (21:08 +0000)
commit1422a19a886f51add18de0699e00150b82226ede
treed51634ca5635be6c1ad34e53d8d3dddef76e5d72
parent62669ede947200a38264013cdcd2f51f19d03f09
AMDGPU/GlobalISel: Use a more correct getValueMapping

This was finding the wrong size registers for anything with
more than 2 components.

Patch by Tom Stellard

llvm-svn: 326483
llvm/lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def