OSDN Git Service

* tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Mar 2005 16:01:53 +0000 (16:01 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Mar 2005 16:01:53 +0000 (16:01 +0000)
expensive operations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97330 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-loop-im.c

index c651077..41224f4 100644 (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.
index 51ada3d..98bc76b 100644 (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;