]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Register allocator: Implement spilled/assigned vreg state merge.
authorIvo Raisr <ivosh@ivosh.net>
Wed, 11 Oct 2017 19:22:57 +0000 (21:22 +0200)
committerIvo Raisr <ivosh@ivosh.net>
Wed, 11 Oct 2017 19:26:18 +0000 (21:26 +0200)
VEX/priv/host_generic_reg_alloc3.c

index 08ff0eeae99a4e6745df998d092ceeca1acaff23..18eb91741c29b76a299de926e4cdc4c6d7c33488 100644 (file)
@@ -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 */