From cde5444f24e13efa4167ad2e67a656d9246802b1 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 1 May 2012 16:27:36 +0200 Subject: [PATCH] create_phi -> store_value, not store_local... phi output cannot be overwritten --- ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.c b/ir.c index ea3a9ca..cfcbb85 100644 --- a/ir.c +++ b/ir.c @@ -846,7 +846,7 @@ ir_instr* ir_block_create_phi(ir_block *self, const char *label, int ot) in = ir_instr_new(self, VINSTR_PHI); if (!in) return NULL; - out = ir_value_out(self->owner, label, store_local, ot); + out = ir_value_out(self->owner, label, store_value, ot); if (!out) { ir_instr_delete(in); return NULL; -- 2.39.2