radeon/llvm: Don't lower RETURN to S_ENDPGM on SI
authorTom Stellard <thomas.stellard@amd.com>
Sat, 2 Jun 2012 11:57:54 +0000 (07:57 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 6 Jun 2012 17:46:03 +0000 (13:46 -0400)
commit8cc9b463deae8f6116963e1fea0c62930066b563
treeba0fa586a779b7c442f2cc53e33a00724ea2a21e
parentde7366701d21842787d65320c12e6b4ecaea3807
radeon/llvm: Don't lower RETURN to S_ENDPGM on SI

Instead create an S_ENDPGM instruction in the CodeEmitter and emit
it after all the other instructions.
src/gallium/drivers/radeon/SICodeEmitter.cpp
src/gallium/drivers/radeon/SIInstrInfo.cpp