summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIInstrInfo.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-06-02 07:57:54 -0400
committerTom Stellard <[email protected]>2012-06-06 13:46:03 -0400
commit8cc9b463deae8f6116963e1fea0c62930066b563 (patch)
treeba0fa586a779b7c442f2cc53e33a00724ea2a21e /src/gallium/drivers/radeon/SIInstrInfo.cpp
parentde7366701d21842787d65320c12e6b4ecaea3807 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/radeon/SIInstrInfo.cpp')
-rw-r--r--src/gallium/drivers/radeon/SIInstrInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/SIInstrInfo.cpp b/src/gallium/drivers/radeon/SIInstrInfo.cpp
index 40a1891b1a6..4c7a92075c6 100644
--- a/src/gallium/drivers/radeon/SIInstrInfo.cpp
+++ b/src/gallium/drivers/radeon/SIInstrInfo.cpp
@@ -100,7 +100,6 @@ unsigned SIInstrInfo::getISAOpcode(unsigned AMDILopcode) const
{
switch (AMDILopcode) {
//XXX We need a better way of detecting end of program
- case AMDIL::RETURN: return AMDIL::S_ENDPGM;
case AMDIL::MOVE_f32: return AMDIL::V_MOV_B32_e32;
default: return AMDILopcode;
}