commit | 50bead32b150a869f1c17efbee8476114d1462a7 | [log] [tgz] |
---|---|---|
author | Rhys Perry <pendingchaos02@gmail.com> | Tue May 12 11:10:18 2020 +0100 |
committer | Marge Bot <eric+marge@anholt.net> | Tue May 19 17:46:38 2020 +0000 |
tree | 329d3012a34fc727e9b4abb706b8236756d4bf51 | |
parent | d221f70299cc4b14316fe83eeb5ae28797421a63 [diff] |
nir/opt_if: run opt_peel_loop_initial_if after all other optimizations Fixes dEQP-VK.graphicsfuzz.loops-ifs-continues-call with RADV. opt_if_loop_terminator can cause this optimization or opt_if_simplification to be run on the non-SSA code. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Fixes: 52c8bc0130a ('nir: make opt_if_loop_terminator() less strict') Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2943 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4757>