freedreno/ir3: don't cp into phi's
authorRob Clark <robclark@freedesktop.org>
Mon, 4 Apr 2016 21:34:57 +0000 (17:34 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 5 Apr 2016 00:18:18 +0000 (20:18 -0400)
commit8e451c2d06d18ee54dc3098b3987af6e0bc59f5e
treec6f6158b75740c033f9e4cb04a2ae6210d057176
parent383b6e87f90e0ac84a200e1677a44b370976c93b
freedreno/ir3: don't cp into phi's

The block defining a phi source might not have been executed.  If we
allow copy propagation, we could end up pointing to a src instruction in
the wrong block.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_cp.c