nir: turn an ssa check in nir_search into an assert
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 13 Feb 2019 05:09:20 +0000 (16:09 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 13 Feb 2019 22:35:32 +0000 (09:35 +1100)
commit68baf96824a5a02f7ed82cd6b90eefc402ef83eb
tree3b5dbd4c4d6f92ebc465e46e39db8e4aeb6762d3
parent46a4d2c8675d264357e0c8195220db3f9e94631f
nir: turn an ssa check in nir_search into an assert

Everything should be in ssa form when we call this. This is a
hotpath so replace the check with an assert.

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