From b4852851d428743d419545f505e57959c94d5636 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 31 Mar 2005 16:01:53 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-loop-im.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c651077ce6f..41224f436af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-31 David Edelsohn + + * tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of + expensive operations. + 2005-03-31 Ian Lance Taylor * collect2.c (lderrout): New variable. diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c index 51ada3d8056..98bc76babd4 100644 --- a/gcc/tree-ssa-loop-im.c +++ b/gcc/tree-ssa-loop-im.c @@ -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;