Skip to content
Snippets Groups Projects
Commit 6b7e48f1 authored by Rhys Perry's avatar Rhys Perry Committed by Eric Engestrom
Browse files

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: default avatarRhys Perry <pendingchaos02@gmail.com>
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Fixes: 52c8bc01 ('nir: make opt_if_loop_terminator() less strict')
Closes: #2943
Part-of: <!4757>
(cherry picked from commit 50bead32)
parent 5049d851
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment