diff options
author | Jason Ekstrand <[email protected]> | 2018-03-19 18:00:14 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-22 20:15:57 -0700 |
commit | 152057b138d58370f6b90406b07b2604439fabb7 (patch) | |
tree | f7d5242ca522b779ebc4ceebd2207a10f4753c3b /src/intel/compiler/brw_nir.c | |
parent | a649610ace3d31f31cbabc7e5152bed183b68a77 (diff) |
i965: Move nir_lower_deref_instrs to right before locals_to_regs
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Acked-by: Rob Clark <[email protected]>
Acked-by: Bas Nieuwenhuizen <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_nir.c')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index 227c94d83b9..971854add4d 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -766,6 +766,8 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler, OPT(nir_opt_dce); OPT(nir_opt_move_comparisons); + OPT(nir_lower_deref_instrs, ~0); + OPT(nir_lower_locals_to_regs); if (unlikely(debug_enabled)) { |