nir/copy_prop: remove unused copies
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 29 Jan 2021 14:32:50 +0000 (14:32 +0000)
committerMarge Bot <eric+marge@anholt.net>
Mon, 1 Mar 2021 17:38:10 +0000 (17:38 +0000)
commit41125bff4ff2e79895975f76601a6c7a18029a3d
tree12c0cc59cde07c6ff20b540e54a6df2f7401d00c
parented9c3c4f19af278221a238130faa878baa16ec26
nir/copy_prop: remove unused copies

These were hurting performance of other passes.

Compile-time (overall):
Difference at 95.0% confidence
-5496.3 +/- 219.752
-4.11912% +/- 0.160285%
(Student's t, pooled s = 259.538)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8784>
src/compiler/nir/nir_opt_copy_propagate.c