r600g/sb: relax some restrictions for FETCH instructions
authorVadim Girlin <vadimgirlin@gmail.com>
Fri, 24 May 2013 14:15:57 +0000 (18:15 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Fri, 24 May 2013 17:00:54 +0000 (21:00 +0400)
commite9aa46e66502248c4b266cb6c4a88851832982d8
tree6ff001e19c36540d4fcfbc5ca19ec93958edf13b
parent5a68a29706002cd9f59faeb3ce18e7aed8a74201
r600g/sb: relax some restrictions for FETCH instructions

This allows GVN rewrite pass to propagate non-const (register)
values to FETCH source operands, helping to eliminate unnecessary
copies in some cases.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/sb/sb_gvn.cpp