R600/SI: Use correct dest register class for V_READFIRSTLANE_B32
authorTom Stellard <thomas.stellard@amd.com>
Mon, 17 Mar 2014 17:03:51 +0000 (17:03 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 17 Mar 2014 17:03:51 +0000 (17:03 +0000)
commiteb7876083dcfb3a69264d14c130177ecf4fc4930
tree39a0b31cbe859f1d25dfa72597e51413cb5eae1a
parent27b614fcd30c8fe80bc8f11f00d89c260a88fd74
R600/SI: Use correct dest register class for V_READFIRSTLANE_B32

This instructions writes to an 32-bit SGPR.  This change required adding
the 32-bit VCC_LO and VCC_HI registers, because the full VCC register
is 64 bits.

This fixes verifier errors on several of the indirect addressing piglit
tests.

Tested-by: Michel Dänzer <michel.daenzer@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204055 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUAsmPrinter.cpp
lib/Target/R600/SIInstructions.td
lib/Target/R600/SILowerControlFlow.cpp
lib/Target/R600/SIRegisterInfo.td
test/CodeGen/R600/private-memory.ll