tree-cfgcleanup.c (tree_forwarder_block_p): Use bb_loop_header_p.
authorRichard Biener <rguenther@suse.de>
Fri, 5 Aug 2016 07:41:45 +0000 (07:41 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 5 Aug 2016 07:41:45 +0000 (07:41 +0000)
commitee2810081e4008656ffb5a2f37a5a68d5d477e7e
treeb9d764e969d86420c6267f8ab69fb903a75890df
parent343092cfa239bfc3b620b473efa3cabda19ea7b6
tree-cfgcleanup.c (tree_forwarder_block_p): Use bb_loop_header_p.

2016-08-05  Richard Biener  <rguenther@suse.de>

* tree-cfgcleanup.c (tree_forwarder_block_p): Use bb_loop_header_p.
* cfghooks.c (force_nonfallthru): If we ended up splitting a latch
adjust loop info accordingly.

From-SVN: r239163
gcc/ChangeLog
gcc/cfghooks.c
gcc/tree-cfgcleanup.c