diff --git a/src/asahi/compiler/agx_compiler.h b/src/asahi/compiler/agx_compiler.h index 1a2860fb308..0646db79d1f 100644 --- a/src/asahi/compiler/agx_compiler.h +++ b/src/asahi/compiler/agx_compiler.h @@ -411,9 +411,6 @@ typedef struct { /* Has r0l been zeroed yet due to control flow? */ bool any_cf; - /** Computed metadata */ - bool has_liveness; - /* Number of nested control flow structures within the innermost loop. Since * NIR is just loop and if-else, this is the number of nested if-else * statements in the loop */ diff --git a/src/asahi/compiler/agx_liveness.c b/src/asahi/compiler/agx_liveness.c index 0712202a47e..1088e0ae5ee 100644 --- a/src/asahi/compiler/agx_liveness.c +++ b/src/asahi/compiler/agx_liveness.c @@ -60,9 +60,6 @@ agx_liveness_ins_update(BITSET_WORD *live, agx_instr *I) void agx_compute_liveness(agx_context *ctx) { - if (ctx->has_liveness) - return; - u_worklist worklist; u_worklist_init(&worklist, ctx->num_blocks, NULL); @@ -142,6 +139,4 @@ agx_compute_liveness(agx_context *ctx) } u_worklist_fini(&worklist); - - ctx->has_liveness = true; }