diff options
author | Jason Ekstrand <[email protected]> | 2018-07-24 10:08:06 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-08-23 21:44:14 -0500 |
commit | 26eb077ec486d0daf5a72d20bb5c03509592dce4 (patch) | |
tree | 11d528a32dae3e8e2a9c6e154aa30c94a7c416bf /src/compiler/Makefile.sources | |
parent | b489998e63f5bd773344c8185d2e9817936116c9 (diff) |
nir: Add a structure splitting pass
This pass doesn't really do much now because nir_lower_vars_to_ssa can
already see through structures and considers them to be "split". This
pass exists to help other passes more easily see through structure
variables. If a back-end does implement arrays using scratch or
indirects on registers, having more smaller arrays is likely to have
better memory efficiency.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.sources')
-rw-r--r-- | src/compiler/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index 27a54e0be09..c6daf4d9c8f 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -300,6 +300,7 @@ NIR_FILES = \ nir/nir_serialize.h \ nir/nir_split_per_member_structs.c \ nir/nir_split_var_copies.c \ + nir/nir_split_vars.c \ nir/nir_sweep.c \ nir/nir_to_lcssa.c \ nir/nir_validate.c \ |