nir/copy_prop: use nir_{instr,if}_rewrite_{src,condition}_ssa
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 29 Jan 2021 17:42:36 +0000 (17:42 +0000)
committerMarge Bot <eric+marge@anholt.net>
Mon, 1 Mar 2021 17:38:10 +0000 (17:38 +0000)
commit812dd9c9f64f9a203ccce91627a0fa9e0445d0e7
tree1badd8820ef07697ce8131bbd97c3bfb012f2771
parentc2209d836ce97540160acf3cc607b01ecdd75c60
nir/copy_prop: use nir_{instr,if}_rewrite_{src,condition}_ssa

Compile-time (nir_copy_prop):
Difference at 95.0% confidence
-2470.88 +/- 19.8762
-35.7461% +/- 0.247259%
(Student's t, pooled s = 23.4747)

Compile-time (overall):
Difference at 95.0% confidence
-2175.72 +/- 178.786
-1.73627% +/- 0.140826%
(Student's t, pooled s = 211.155)

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