R600/SI: Emit an error when attempting to spill VGPRs v4
authorTom Stellard <thomas.stellard@amd.com>
Tue, 10 Jun 2014 21:20:41 +0000 (21:20 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 10 Jun 2014 21:20:41 +0000 (21:20 +0000)
commitcd0b8d6cbf521ebdb6a1065b770629022985b233
tree9eb743c62ba174e04e7e6b8aa336144c36f97985
parent48d11b0228ec801ccc713981b208965fd032a0f6
R600/SI: Emit an error when attempting to spill VGPRs v4

I can't get VGPR spilling to work reliable, so for now just emit
an error when the register allocator tries to spill VGPRs.

v2:
  - Fix build
v3:
  - Added crash fix when spilling SPGRs
v4:
  - Use V_MOV_B32 as a dummy instruction instead of S_NOP

Patch by: Darren Powell

https://bugs.freedesktop.org/show_bug.cgi?id=75276

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210588 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp