final.c (compute_alignments): Do not apply loop alignment to a block falling through to the exit.
* final.c (compute_alignments): Do not apply loop alignment to a block falling through to the exit. From-SVN: r209451
This commit is contained in:
parent
d2dfaca3b8
commit
82b9c0158b
@ -1,3 +1,8 @@
|
||||
2014-04-16 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* final.c (compute_alignments): Do not apply loop alignment to a block
|
||||
falling through to the exit.
|
||||
|
||||
2014-04-16 Catherine Moore <clm@codesourcery.com>
|
||||
|
||||
* mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal):
|
||||
|
@ -775,6 +775,8 @@ compute_alignments (void)
|
||||
/* In case block is frequent and reached mostly by non-fallthru edge,
|
||||
align it. It is most likely a first block of loop. */
|
||||
if (has_fallthru
|
||||
&& !(single_succ_p (bb)
|
||||
&& single_succ (bb) == EXIT_BLOCK_PTR_FOR_FN (cfun))
|
||||
&& optimize_bb_for_speed_p (bb)
|
||||
&& branch_frequency + fallthru_frequency > freq_threshold
|
||||
&& (branch_frequency
|
||||
|
Loading…
x
Reference in New Issue
Block a user