Re: [Mesa-dev] [PATCH 3/3] nir: add the ability insert a CF node after an instruction

2015-07-17 Thread Connor Abbott
On Thu, Jul 16, 2015 at 3:18 PM, Kenneth Graunke wrote: > From: Connor Abbott > > This will split the block containing the instruction and put the CF node > in between. > > v2: (by Kenneth Graunke) > - Simplify split_block_after_instr()'s implementation by using > split_block_end() rather than

Re: [Mesa-dev] [PATCH 3/3] nir: add the ability insert a CF node after an instruction

2015-07-16 Thread Jason Ekstrand
On Jul 16, 2015 5:19 PM, "Kenneth Graunke" wrote: > > From: Connor Abbott > > This will split the block containing the instruction and put the CF node > in between. > > v2: (by Kenneth Graunke) > - Simplify split_block_after_instr()'s implementation by using > split_block_end() rather than dupl

[Mesa-dev] [PATCH 3/3] nir: add the ability insert a CF node after an instruction

2015-07-16 Thread Kenneth Graunke
From: Connor Abbott This will split the block containing the instruction and put the CF node in between. v2: (by Kenneth Graunke) - Simplify split_block_after_instr()'s implementation by using split_block_end() rather than duplicating code. - Fix a bug in nir_cf_node_insert_after_instr() where