summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_info.h
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <[email protected]>2019-02-12 12:02:42 +0000
committerJuan A. Suarez Romero <[email protected]>2019-02-15 15:16:24 +0100
commit1fb24080b7da8c1378c7aabc2d02ffece677ce7c (patch)
treed4e09939c129175296c4068b56715d98591ed0ea /src/compiler/shader_info.h
parent69be9934a780eadc7c0b64465fae8431eb979dae (diff)
nir: remove jump from two merging jump-ending blocks
In opt_peel_initial_if optimization, when moving the continue list to end of the continue block, before the jump, could happen that the continue list itself also ends with a jump. This would mean that we would have two jump instructions in a row: the first one from the continue list and the second one from the contine block. As inserting an instruction after a jump is not allowed (and it does not make sense, as it will not be executed), remove the jump from the continue block and keep the one from continue list, as it will be executed first. CC: Jason Ekstrand <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/shader_info.h')
0 files changed, 0 insertions, 0 deletions