r600/sfn: allow more copy-propagate with dest chan fixed.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20205>
This commit is contained in:
@@ -326,6 +326,7 @@ AluInstr::can_propagate_src() const
|
||||
|
||||
if (m_dest->pin() == pin_chan)
|
||||
return src_reg->pin() == pin_none ||
|
||||
src_reg->pin() == pin_free ||
|
||||
(src_reg->pin() == pin_chan && src_reg->chan() == m_dest->chan());
|
||||
|
||||
return m_dest->pin() == pin_none || m_dest->pin() == pin_free;
|
||||
|
||||
Reference in New Issue
Block a user