R600/SI: Replace TRI->getRegClass(Reg) with TRI->getPhysRegClass(Reg)
authorTom Stellard <thomas.stellard@amd.com>
Tue, 12 May 2015 14:18:11 +0000 (14:18 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 12 May 2015 14:18:11 +0000 (14:18 +0000)
commit61637f35c3cabfba43f6261f80f3ca056f969350
tree612b28f7ceac58d9a085135ba2afdf9d91fef949
parent9cc691fa052b790a189443bcfc5b92851dc85600
R600/SI: Replace TRI->getRegClass(Reg) with TRI->getPhysRegClass(Reg)

TRI->getRegClass() takes a register class ID, not a register.  We were
using this incorrectly in a few places.

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