Re: [Mesa-dev] [PATCH 00/21] NIR control flow modification

2015-08-06 Thread Kenneth Graunke
On Tuesday, July 21, 2015 07:54:14 PM Connor Abbott wrote: > Back when I was getting NIR up and running, I created a bunch of > functions that dealt with modifying control flow; they allowed you to > remove control flow nodes (if's, loops, and basic blocks) as well as > insert newly-created control

Re: [Mesa-dev] [PATCH 00/21] NIR control flow modification

2015-08-05 Thread Kenneth Graunke
On Tuesday, July 21, 2015 07:54:14 PM Connor Abbott wrote: > Connor Abbott (21): > nir/validate: check successors/predecessors more carefully > nir: inline block_add_pred() a few places > nir: make cleanup_cf_node() not use remove_defs_uses() > nir: move control flow modification to its own

Re: [Mesa-dev] [PATCH 00/21] NIR control flow modification

2015-07-30 Thread Kenneth Graunke
On Tuesday, July 21, 2015 07:54:14 PM Connor Abbott wrote: > Back when I was getting NIR up and running, I created a bunch of > functions that dealt with modifying control flow; they allowed you to > remove control flow nodes (if's, loops, and basic blocks) as well as > insert newly-created control

[Mesa-dev] [PATCH 00/21] NIR control flow modification

2015-07-21 Thread Connor Abbott
Back when I was getting NIR up and running, I created a bunch of functions that dealt with modifying control flow; they allowed you to remove control flow nodes (if's, loops, and basic blocks) as well as insert newly-created control flow nodes at certain points. The insertion API's worked well enou