nir: turn ssa check into an assert
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 13 Feb 2019 04:27:29 +0000 (15:27 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 13 Feb 2019 22:35:32 +0000 (09:35 +1100)
commit46a4d2c8675d264357e0c8195220db3f9e94631f
tree416acf5f3d31d08811c84b7c56c82589bc5ddc72
parent0a89c9779a835331dab33dfb852e4b0ab4269de1
nir: turn ssa check into an assert

Everthing should be in ssa form when this is called. Checking
for it here is expensive so turn this into an assert instead.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_instr_set.c