nir: allow opt_peephole_select to handle nir_instr_type_deref

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Timothy Arceri 2018-07-16 09:26:33 +10:00
parent bb5449cfee
commit c4188a9b9f
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ block_check_for_allowed_instrs(nir_block *block, unsigned *count, bool alu_ok)
break;
}
case nir_instr_type_deref:
case nir_instr_type_load_const:
break;