On 07/18/2011 12:09 PM, Steven Bosscher wrote:
> On Mon, Jul 18, 2011 at 8:48 PM, Richard Henderson wrote:
>> Split out a helper subroutine to insert a barrier,
>> after we've modified a basic block to not fallthru.
>
> Huh, aren't barriers emitted automatically when going out of cfglayout mode??
On 07/18/2011 12:09 PM, Steven Bosscher wrote:
> On Mon, Jul 18, 2011 at 8:48 PM, Richard Henderson wrote:
>> Split out a helper subroutine to insert a barrier,
>> after we've modified a basic block to not fallthru.
>
> Huh, aren't barriers emitted automatically when going out of cfglayout mode??
On Mon, Jul 18, 2011 at 8:48 PM, Richard Henderson wrote:
> Split out a helper subroutine to insert a barrier,
> after we've modified a basic block to not fallthru.
Huh, aren't barriers emitted automatically when going out of cfglayout mode??
Ciao!
Steven
Split out a helper subroutine to insert a barrier,
after we've modified a basic block to not fallthru.
Tested on x86_64-linux and committed.
r~
* bb-reorder.c (emit_barrier_after_bb): Split out of ...
(add_labels_and_missing_jumps): ... here.
(fix_up_fall_thru_edges, fix_