[PATCH] Fix accounting for num_threaded_edges

* tree-ssa-threadupdate.c (thread_through_all_blocks): Bump
	num_threaded_edges for successful FSM threads too.

From-SVN: r228822
This commit is contained in:
Jeff Law 2015-10-14 11:53:46 -06:00 committed by Jeff Law
parent bb1125df53
commit 41fd0dc650
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-10-14 Jeff Law <law@redhat.com>
* tree-ssa-threadupdate.c (thread_through_all_blocks): Bump
num_threaded_edges for successful FSM threads too.
2015-10-14 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (vect_is_simple_use): Remove unused parameters.

View File

@ -2672,6 +2672,7 @@ thread_through_all_blocks (bool may_peel_loop_headers)
free_dominance_info (CDI_DOMINATORS);
bitmap_set_bit (threaded_blocks, entry->src->index);
retval = true;
thread_stats.num_threaded_edges++;
}
delete_jump_thread_path (path);