summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_bitmap.c
diff options
context:
space:
mode:
authorThomas Helland <[email protected]>2018-01-30 21:24:44 +0100
committerThomas Helland <[email protected]>2018-03-21 19:26:27 +0100
commitedb18564c70829b163bb6683d6371dc8068a46d7 (patch)
tree7dbf42d29674c16d1a3616558855284904ef6c8c /src/compiler/nir/nir_lower_bitmap.c
parentcab8df1e3e2e5497f9f59847ce0355ee479ef223 (diff)
nir: Initial implementation of a nir_instr_worklist
Make a simple worklist by basically just wrapping u_vector. This is intended used in nir_opt_dce to reduce the number of calls to ralloc, as we are currenlty spamming ralloc quite bad. It should also give better cache locality and much lower memory usage. Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de> Reviewed-by: Eric Anholt <eric at anholt.net>
Diffstat (limited to 'src/compiler/nir/nir_lower_bitmap.c')
0 files changed, 0 insertions, 0 deletions