freedreno/ir3: allow copy-propagate out of fanout
authorRob Clark <robdclark@chromium.org>
Fri, 18 Oct 2019 22:46:59 +0000 (15:46 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 24 Oct 2019 20:08:56 +0000 (13:08 -0700)
commite665e65f969186101112d154eb1a43d945814080
tree6c5988473cb5137123d84786f71ac742dc91bb88
parent3ac328875e8f8b150ef0d4f21bd5cfae3156d329
freedreno/ir3: allow copy-propagate out of fanout

Now that we fixed the sharp edges that this was papering over, we can
relax the restriction about eliminating a mov coming out of a fanout
(for example from result of texture fetch).

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/ir3/ir3_cp.c