Commit f1028b9d by Uros Bizjak

re PR rtl-optimization/39914 (96% performance regression in floating point code;…

re PR rtl-optimization/39914 (96% performance regression in floating point code; part of the problem started 2009/03/12-13)

	PR rtl-optimization/39914
	* ira-conflicts.c (ira_build_conflicts): Prohibit call used
	registers for allocnos created from user-defined variables only
	when not optimizing.

From-SVN: r146904
parent 9f1bdf53
2009-04-28 Uros Bizjak <ubizjak@gmail.com>
PR rtl-optimization/39914
* ira-conflicts.c (ira_build_conflicts): Prohibit call used
registers for allocnos created from user-defined variables only
when not optimizing.
2009-04-28 Richard Guenther <rguenther@suse.de> 2009-04-28 Richard Guenther <rguenther@suse.de>
PR middle-end/39937 PR middle-end/39937
...@@ -42,8 +49,7 @@ ...@@ -42,8 +49,7 @@
2009-04-28 Richard Guenther <rguenther@suse.de> 2009-04-28 Richard Guenther <rguenther@suse.de>
* tree-vect-stmts.c (vect_get_vec_def_for_operand): Fix * tree-vect-stmts.c (vect_get_vec_def_for_operand): Fix type error.
type error.
2009-04-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 2009-04-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
...@@ -83,8 +89,7 @@ ...@@ -83,8 +89,7 @@
(threadedge_finalize_values): Likewise. (threadedge_finalize_values): Likewise.
* tree-ssa-dom.c (ssa_name_values): New global variable. * tree-ssa-dom.c (ssa_name_values): New global variable.
(SSA_NAME_VALUE): Define. (SSA_NAME_VALUE): Define.
(tree_ssa_dominator_optimize): Initialize/free the value-handle (tree_ssa_dominator_optimize): Initialize/free the value-handle array.
array.
2009-04-28 Ira Rosen <irar@il.ibm.com> 2009-04-28 Ira Rosen <irar@il.ibm.com>
......
...@@ -806,7 +806,7 @@ ira_build_conflicts (void) ...@@ -806,7 +806,7 @@ ira_build_conflicts (void)
if ((! flag_caller_saves && ALLOCNO_CALLS_CROSSED_NUM (a) != 0) if ((! flag_caller_saves && ALLOCNO_CALLS_CROSSED_NUM (a) != 0)
/* For debugging purposes don't put user defined variables in /* For debugging purposes don't put user defined variables in
callee-clobbered registers. */ callee-clobbered registers. */
|| (optimize <= 1 || (optimize == 0
&& (attrs = REG_ATTRS (regno_reg_rtx [ALLOCNO_REGNO (a)])) != NULL && (attrs = REG_ATTRS (regno_reg_rtx [ALLOCNO_REGNO (a)])) != NULL
&& (decl = attrs->decl) != NULL && (decl = attrs->decl) != NULL
&& VAR_OR_FUNCTION_DECL_P (decl) && VAR_OR_FUNCTION_DECL_P (decl)
......
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