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 <[email protected]> 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
