Commit c3702ff9 by Jan Hubicka Committed by Jan Hubicka

predict.c (maybe_hot_frequency_p): When profile is absent, all frequencies might be hot.

	* predict.c (maybe_hot_frequency_p): When profile is absent, all
	frequencies might be hot.

From-SVN: r138764
parent e0a17959
2008-08-06 Jan Hubicka <jh@suse.cz>
* predict.c (maybe_hot_frequency_p): When profile is absent, all
frequencies might be hot.
2008-08-06 Andreas Krebbel <krebbel1@de.ibm.com>
* reload.c (find_reloads): Force constants into literal pool
......
......@@ -118,6 +118,8 @@ maybe_hot_frequency_p (int freq)
if (cfun->function_frequency == FUNCTION_FREQUENCY_HOT)
return true;
}
if (profile_status == PROFILE_ABSENT)
return true;
if (freq < BB_FREQ_MAX / PARAM_VALUE (HOT_BB_FREQUENCY_FRACTION))
return false;
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment