freedreno/ir3: handle the progress case
authorRob Clark <robdclark@chromium.org>
Fri, 18 Oct 2019 22:55:10 +0000 (15:55 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 24 Oct 2019 20:08:56 +0000 (13:08 -0700)
commitbc67b892d010be71e264747a5ebbf975358dd7ea
tree42f766832119cb93a6aad68902545f99cb67a80b
parent97b24efd9f44590fe262c99d91f78f53d4da121b
freedreno/ir3: handle the progress case

In some cases, in particular when you have things that can be src
modifiers ((abs)/(neg)), once eliminating one mov, there is a
possibility to remove another.  Handle this by re-visiting an
instruction after eliminating a copy on one of it's srcs.

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