Re: [Mesa-dev] [PATCH] nir: remove jump from two merging jump-ending blocks

2019-02-12 Thread Caio Marcelo de Oliveira Filho
On Tue, Feb 12, 2019 at 04:38:04PM +0100, Juan A. Suarez Romero wrote: > 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 tw

[Mesa-dev] [PATCH] nir: remove jump from two merging jump-ending blocks

2019-02-12 Thread Juan A. Suarez Romero
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