diff options
author | Tom Stellard <[email protected]> | 2012-05-10 15:29:00 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-10 15:41:32 -0400 |
commit | f8e9c29020289387f0f429ac6d3c28e73e5847a3 (patch) | |
tree | 69032fedf9ba719679ff0b2a326a6b7fdf0eb4c4 /src/gallium/drivers/radeon/SIInstrInfo.cpp | |
parent | fa63f976522bd4faf19249e8c9ac4d3edda498d9 (diff) |
radeonsi/llvm: Move lowering of RETURN to ConvertToISA pass
Diffstat (limited to 'src/gallium/drivers/radeon/SIInstrInfo.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/SIInstrInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/SIInstrInfo.cpp b/src/gallium/drivers/radeon/SIInstrInfo.cpp index e733aa856e4..0cb97643a7f 100644 --- a/src/gallium/drivers/radeon/SIInstrInfo.cpp +++ b/src/gallium/drivers/radeon/SIInstrInfo.cpp @@ -107,6 +107,8 @@ unsigned SIInstrInfo::getISAOpcode(unsigned AMDILopcode) const { switch (AMDILopcode) { case AMDIL::MAD_f32: return AMDIL::V_MAD_LEGACY_F32; + //XXX We need a better way of detecting end of program + case AMDIL::RETURN: return AMDIL::S_ENDPGM; default: return AMDGPUInstrInfo::getISAOpcode(AMDILopcode); } } |