diff --git a/src/panfrost/bifrost/bi_ra.c b/src/panfrost/bifrost/bi_ra.c index bc65c8e336d..595275b6be6 100644 --- a/src/panfrost/bifrost/bi_ra.c +++ b/src/panfrost/bifrost/bi_ra.c @@ -535,6 +535,7 @@ bi_register_allocate(bi_context *ctx) } assert(success); + assert(l != NULL); ctx->info->tls_size = spill_count; bi_install_registers(ctx, l);