R600/SI: Return the correct index for VGPRs in getHWRegIndex()
authorTom Stellard <thomas.stellard@amd.com>
Mon, 31 Mar 2014 14:01:52 +0000 (14:01 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 31 Mar 2014 14:01:52 +0000 (14:01 +0000)
commit1eaaa949f654df3b5920ae3a5d2572579785008b
tree3d82141b79e3b1acca18d1f7fc37ada7b3b42aca
parent077aa54e4ef322b2cfbd99bbffde6416b8467820
R600/SI: Return the correct index for VGPRs in getHWRegIndex()

The register index is stored in the low 8-bits of the encoding.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205186 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIRegisterInfo.cpp