summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_peephole_select.c
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-10-05 19:56:54 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-10-06 09:16:39 -0700
commitae032e5ea61dac3c63d74056174939e5ec091629 (patch)
tree86684d642726e12aff0914b62a74f8c4c30321b1 /src/compiler/nir/nir_opt_peephole_select.c
parent2ed17d46de045404042f13c6591895a1cf31b167 (diff)
downloadexternal_mesa3d-ae032e5ea61dac3c63d74056174939e5ec091629.zip
external_mesa3d-ae032e5ea61dac3c63d74056174939e5ec091629.tar.gz
external_mesa3d-ae032e5ea61dac3c63d74056174939e5ec091629.tar.bz2
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>
Diffstat (limited to 'src/compiler/nir/nir_opt_peephole_select.c')
-rw-r--r--src/compiler/nir/nir_opt_peephole_select.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_peephole_select.c b/src/compiler/nir/nir_opt_peephole_select.c
index 29543d6..9c85c17 100644
--- a/src/compiler/nir/nir_opt_peephole_select.c
+++ b/src/compiler/nir/nir_opt_peephole_select.c
@@ -181,7 +181,6 @@ nir_opt_peephole_select_block(nir_block *block, void *mem_ctx, unsigned limit)
*/
nir_block *prev_block = nir_cf_node_as_block(nir_cf_node_prev(prev_node));
- assert(prev_block->cf_node.type == nir_cf_node_block);
/* First, we move the remaining instructions from the blocks to the
* block before. We have already guaranteed that this is safe by