R600/SI: Add more special cases for opcodes to ensureSRegLimit()
authorTom Stellard <thomas.stellard@amd.com>
Tue, 6 Aug 2013 23:08:18 +0000 (23:08 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 6 Aug 2013 23:08:18 +0000 (23:08 +0000)
commit3406d882c02a6cd1e16f4636351c23dcb68d785f
tree8917feb5d7791dc1e741bb30d67ae2055a7f8b92
parent06d63b31beb38a0c30dfa94543e53d8632531417
R600/SI: Add more special cases for opcodes to ensureSRegLimit()

Also factor out the register class lookup to its own function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187830 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIISelLowering.h
lib/Target/R600/SIRegisterInfo.cpp
lib/Target/R600/SIRegisterInfo.h
test/CodeGen/R600/bfi_int.ll
test/CodeGen/R600/llvm.SI.imageload.ll
test/CodeGen/R600/llvm.SI.sample.ll
test/CodeGen/R600/llvm.SI.sampled.ll
test/CodeGen/R600/lshl.ll
test/CodeGen/R600/lshr.ll