R600/SI: nuke SReg_1 v3
authorChristian Konig <christian.koenig@amd.com>
Sat, 16 Feb 2013 11:28:30 +0000 (11:28 +0000)
committerChristian Konig <christian.koenig@amd.com>
Sat, 16 Feb 2013 11:28:30 +0000 (11:28 +0000)
commite9ba1830df2efef3da113a740909195e839ebd36
tree93e772de9a442b7fa9fe4e13b73b3d8a8223a3cc
parente25e490793241e471036c3e2f969ce6a068e5ce1
R600/SI: nuke SReg_1 v3

It's completely unnecessary and can be replace with proper
SReg_64 handling instead.

This actually fixes a piglit test on SI.

v2: use correct register class in addRegisterClass,
    set special classes as not allocatable
v3: revert setting special classes as not allocateable

This is a candidate for the stable branch.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175355 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.h
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIISelLowering.h
lib/Target/R600/SIInstrFormats.td
lib/Target/R600/SIInstrInfo.td
lib/Target/R600/SIInstructions.td
lib/Target/R600/SIRegisterInfo.td