diff options
author | Jason Ekstrand <[email protected]> | 2016-02-13 17:45:37 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-08 10:41:54 -0800 |
commit | 14b18aba89026204043d2e0d441e6be0e1af4aca (patch) | |
tree | be2cca0a736ce96f5df76be7bbc1dcec859e0c03 /src/compiler/Makefile.sources | |
parent | ef76ea4ba97d0ac122491fd3f1b2bbb8e4163150 (diff) |
nir: Add a pass for lower indirect variable dereferences
This new pass lowers load/store_var intrinsics that act on indirect derefs
to if-ladder of direct load/store_var intrinsics. The if-ladders perform a
simple binary search on the indirect.
Reviewed-by: Connor Abbott <[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 c9780d6d6f7..9f3bcf0255b 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -189,6 +189,7 @@ NIR_FILES = \ nir/nir_lower_load_const_to_scalar.c \ nir/nir_lower_locals_to_regs.c \ nir/nir_lower_idiv.c \ + nir/nir_lower_indirect_derefs.c \ nir/nir_lower_io.c \ nir/nir_lower_outputs_to_temporaries.c \ nir/nir_lower_phis_to_scalar.c \ |