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/nir/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/nir/Makefile.sources')
-rw-r--r-- | src/compiler/nir/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/Makefile.sources b/src/compiler/nir/Makefile.sources index 0755a100e65..f31547b9aac 100644 --- a/src/compiler/nir/Makefile.sources +++ b/src/compiler/nir/Makefile.sources @@ -33,6 +33,7 @@ NIR_FILES = \ nir_lower_load_const_to_scalar.c \ nir_lower_locals_to_regs.c \ nir_lower_idiv.c \ + nir_lower_indirect_derefs.c \ nir_lower_io.c \ nir_lower_outputs_to_temporaries.c \ nir_lower_phis_to_scalar.c \ |