freedreno/ir3: avoid fan-in sources referring to same instruction
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 1 Oct 2014 03:27:25 +0000 (23:27 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 3 Oct 2014 01:05:50 +0000 (21:05 -0400)
commit3dd9a0d6fdea1ff5b1fe903fce206bf1d1515400
tree5e0a288a46c4fbf78b104febbeb12b1b3f6c437f
parentf5eeb8a6dc4d1a1a4b88843e1c8d6d3a9c50512a
freedreno/ir3: avoid fan-in sources referring to same instruction

Since the RA has to be done s.t. each one gets its own (adjacent)
register, it would complicate matters if instructions were allowed to be
repeated. This enables copy-propagation use in situations where
previously that might have happened.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_cp.c