From bec05f1bbb0829b163e7901ac561ebaf593ede4b Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sun, 13 Jan 2013 21:00:13 +0100 Subject: [PATCH] apparently it's possible to segfault DP with a bad INSTR_LOAD_V - so the IR should not allow this --- ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.c b/ir.c index a641310..7bfd43f 100644 --- a/ir.c +++ b/ir.c @@ -2554,7 +2554,7 @@ static bool ir_block_life_propagate(ir_block *self, ir_block *prev, bool *change if (value->memberof && ir_value_life_merge(value->memberof, instr->eid+1)) *changed = true; } - else if (instr->opcode == INSTR_MUL_FV) + else if (instr->opcode == INSTR_MUL_FV || instr->opcode == INSTR_LOAD_V) { value = instr->_ops[1]; /* the float source will get an additional lifetime */ -- 2.39.2