R600/SI: dynamical figure out the reg class of MIMG
authorChristian Konig <christian.koenig@amd.com>
Wed, 10 Apr 2013 08:39:16 +0000 (08:39 +0000)
committerChristian Konig <christian.koenig@amd.com>
Wed, 10 Apr 2013 08:39:16 +0000 (08:39 +0000)
commit4d0e8a8a3e2e5b98f598acad4d57452b99d52e74
treeb02888c7d78ff0841f6ab4668192c8b754d2defd
parent84a775d8e3d5a3765e01db4b454f849ed8be99be
R600/SI: dynamical figure out the reg class of MIMG

Depending on the number of bits set in the writemask.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179166 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUAsmPrinter.cpp
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIISelLowering.h
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstrInfo.td
lib/Target/R600/SIRegisterInfo.td
test/CodeGen/R600/llvm.SI.sample.ll