Commit b4852851 by David Edelsohn Committed by David Edelsohn

tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of expensive operations.

	* tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of
	expensive operations.

From-SVN: r97330
parent 14fd645e
2005-03-31 David Edelsohn <edelsohn@gnu.org>
* tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of
expensive operations.
2005-03-31 Ian Lance Taylor <ian@airs.com>
* collect2.c (lderrout): New variable.
......
......@@ -436,6 +436,7 @@ stmt_cost (tree stmt)
case FLOOR_MOD_EXPR:
case ROUND_MOD_EXPR:
case TRUNC_MOD_EXPR:
case RDIV_EXPR:
/* Division and multiplication are usually expensive. */
cost += 20;
break;
......
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