AMDGPU: Cache information about register pressure sets
authorTom Stellard <thomas.stellard@amd.com>
Wed, 23 Mar 2016 01:53:22 +0000 (01:53 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 23 Mar 2016 01:53:22 +0000 (01:53 +0000)
commit52ecd2d69b7a6c5c3de0167e00774e26ab7390a2
tree28e855bf8578f06ca43f6797492b86fd8015d4b7
parent3eaf5dc052846df0f793644c240315131f1d1689
AMDGPU: Cache information about register pressure sets

We can statically decide whether or not a register pressure set is for
SGPRs or VGPRs, so we don't need to re-compute this information in
SIRegisterInfo::getRegPressureSetLimit().

Differential Revision: http://reviews.llvm.org/D14805

llvm-svn: 264126
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.h