nir: Remove some no longer needed asserts

Now that the NIR casting functions have type assertions, we have a bunch of
assertions that aren't needed anymore.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
Jason Ekstrand
2016-10-05 19:56:54 -07:00
parent 2ed17d46de
commit ae032e5ea6
8 changed files with 1 additions and 16 deletions

View File

@@ -2147,7 +2147,6 @@ nir_after_cf_node_and_phis(nir_cf_node *node)
return nir_after_block(nir_cf_node_as_block(node));
nir_block *block = nir_cf_node_as_block(nir_cf_node_next(node));
assert(block->cf_node.type == nir_cf_node_block);
return nir_after_phis(block);
}