Commit 0fa23756 by Jan Hubicka Committed by Jan Hubicka

re PR ipa/60243 (IPA is slow on large cgraph tree)

	PR ipa/60243
	* tree-inline.c (estimate_num_insns): Set to 1 at least.

From-SVN: r254934
parent 66c92903
2017-11-19 Jan Hubicka <hubicka@ucw.cz> 2017-11-19 Jan Hubicka <hubicka@ucw.cz>
PR ipa/60243
* tree-inline.c (estimate_num_insns): Set to 1 at least.
2017-11-19 Jan Hubicka <hubicka@ucw.cz>
PR target/82713 PR target/82713
* i386.c (ix86_builtin_vectorization_cost): Be ready for insane * i386.c (ix86_builtin_vectorization_cost): Be ready for insane
types. types.
...@@ -4100,7 +4100,7 @@ estimate_num_insns (gimple *stmt, eni_weights *weights) ...@@ -4100,7 +4100,7 @@ estimate_num_insns (gimple *stmt, eni_weights *weights)
with very long asm statements. */ with very long asm statements. */
if (count > 1000) if (count > 1000)
count = 1000; count = 1000;
return count; return MAX (1, count);
} }
case GIMPLE_RESX: case GIMPLE_RESX:
......
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