From 5d884bcb456d0a4727ef590b25aa9bbffd55dfd3 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Wed, 22 Aug 2012 16:20:26 +0200 Subject: [PATCH] for liferange calc: the block we start from must tart with an empty set of living values --- ir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ir.c b/ir.c index 1f09a9a..0dc785a 100644 --- a/ir.c +++ b/ir.c @@ -1812,6 +1812,7 @@ bool ir_function_calculate_liferanges(ir_function *self) { if (self->blocks[i]->is_return) { + self->blocks[i]->living_count = 0; if (!ir_block_life_propagate(self->blocks[i], NULL, &changed)) return false; } -- 2.39.2