place spills after keeps
authorMatthias Braun <matze@braunis.de>
Wed, 30 May 2007 12:34:04 +0000 (12:34 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 30 May 2007 12:34:04 +0000 (12:34 +0000)
[r14176]

ir/be/bespill.c

index 6b2b8ae..98e9f15 100644 (file)
@@ -347,7 +347,7 @@ static
 void sched_add_after_insn(ir_node *sched_after, ir_node *node)
 {
        ir_node *next = sched_next(sched_after);
-       while(is_Proj(next) || is_Phi(next)) {
+       while(is_Proj(next) || is_Phi(next) || be_is_Keep(next)) {
                next = sched_next(next);
        }
        assert(next != NULL);