/* Decide which phi nodes will be spilled and place copies for them into the graph */
irg_block_walk_graph(irg, compute_live_ins, NULL, &env);
/* Fix high register pressure with belady algorithm */
irg_block_walk_graph(irg, NULL, belady, &env);
/* belady was block-local, fix the global flow by adding reloads on the edges */
irg_block_walk_graph(irg, fix_block_borders, NULL, &env);
/* Decide which phi nodes will be spilled and place copies for them into the graph */
irg_block_walk_graph(irg, compute_live_ins, NULL, &env);
/* Fix high register pressure with belady algorithm */
irg_block_walk_graph(irg, NULL, belady, &env);
/* belady was block-local, fix the global flow by adding reloads on the edges */
irg_block_walk_graph(irg, fix_block_borders, NULL, &env);