From: Ivo Raisr Date: Wed, 11 Oct 2017 19:22:57 +0000 (+0200) Subject: Register allocator: Implement spilled/assigned vreg state merge. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f97613a4c76537886aeee6d42152c22853369a8;p=thirdparty%2Fvalgrind.git Register allocator: Implement spilled/assigned vreg state merge. --- diff --git a/VEX/priv/host_generic_reg_alloc3.c b/VEX/priv/host_generic_reg_alloc3.c index 08ff0eeae9..18eb91741c 100644 --- a/VEX/priv/host_generic_reg_alloc3.c +++ b/VEX/priv/host_generic_reg_alloc3.c @@ -1732,8 +1732,8 @@ static void merge_vreg_states(RegAllocChunk* chunk, break; case Assigned: /* vreg1: spilled; vreg2: assigned to rreg2 */ - /* Generate spill. */ - vpanic("Spill not implemented, yet."); + spill_vreg(outOfLine, state2, vreg2, chunk->next->ii_total_start, + depth, con); break; case Spilled: /* vreg1: spilled; vreg2: spilled */