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

Thomas Helland thomashelland90 at gmail.com
Sat Mar 17 23:09:51 UTC 2018


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 <eric at anholt.net>

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



More information about the mesa-dev mailing list