Re-add check_asm_cfg_liveness

This commit is contained in:
gingerBill
2026-08-25 09:43:31 +01:00
parent b1a81cf6f3
commit 6f65d775c2
2 changed files with 125 additions and 0 deletions

View File

@@ -2644,6 +2644,7 @@ gb_internal void check_asm_template(AsmCtx *asm_ctx, CheckerContext *ctx, Entity
check_asm_cfg_build(asm_ctx, &cfg, d->init_expr, entity);
check_asm_cfg_analyse(asm_ctx, &cfg, ctx, entity);
check_asm_cfg_liveness(asm_ctx, &cfg, entity, /*emit_dead_writes*/all_instructions_good);
bool vet_unused = false;
{