Skip to content
Snippets Groups Projects
Commit cc870036 authored by Jan Hubicka's avatar Jan Hubicka Committed by Jan Hubicka
Browse files

tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Check that loop is not cold.

	* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Check that loop
	is not cold.
	* predict.c (optimize_bb_for_size_p, optimize_bb_for_speed_p):
	Constify arguments.
	(optimize_loop_for_size_p, optimize_loop_for_speed_p): New functions.
	* basic-block.h (optimize_bb_for_size_p, optimize_bb_for_speed_p):
	Constify.
	(optimize_loop_for_size_p, optimize_loop_for_speed_p): Declare.

From-SVN: r139756
parent 7299cb99
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment