[Mesa-dev] [PATCH 0/2] nir_instr_worklist for nir_opt_dce V2

2018-03-17 Thread Thomas Helland
This is take two on reducing ralloc overhead in nir_opt_dce.
I've ditched the previous solution with a freelist, and instead
gone for a wrapper on u_vector. That should remove the need for a 
freelist alltogether, and at the same time lower our memory usage.

CC: Eric Anholt 

Thomas Helland (2):
  nir: Initial implementation of a nir_instr_worklist
  nir: Migrate nir_dce to instr worklist

 src/compiler/nir/nir_opt_dce.c  | 53 +++
 src/compiler/nir/nir_worklist.h | 70 +
 2 files changed, 88 insertions(+), 35 deletions(-)

-- 
2.16.2

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH 0/2] nir_instr_worklist for nir_opt_dce V2

2018-03-18 Thread Dieter Nützel

For the series

Tested-by: Dieter Nützel 

running on RX580.

Dieter

Am 18.03.2018 00:09, schrieb Thomas Helland:

This is take two on reducing ralloc overhead in nir_opt_dce.
I've ditched the previous solution with a freelist, and instead
gone for a wrapper on u_vector. That should remove the need for a
freelist alltogether, and at the same time lower our memory usage.

CC: Eric Anholt 

Thomas Helland (2):
  nir: Initial implementation of a nir_instr_worklist
  nir: Migrate nir_dce to instr worklist

 src/compiler/nir/nir_opt_dce.c  | 53 +++
 src/compiler/nir/nir_worklist.h | 70 
+

 2 files changed, 88 insertions(+), 35 deletions(-)

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev