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
This commit is contained in:
David Edelsohn 2005-03-31 16:01:53 +00:00 committed by David Edelsohn
parent 14fd645e24
commit b4852851d4
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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;