diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-31 16:01:53 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-31 16:01:53 +0000 |
commit | fd544fc8139ee76cbb18a2e547b90429b6d991ff (patch) | |
tree | 6015885f8d0dc23a5364f59724ef86fae15d470f /gcc/tree-ssa-loop-im.c | |
parent | 78e910ee71ff7a4087e965dce6fc840f56683d04 (diff) | |
download | ppe42-gcc-fd544fc8139ee76cbb18a2e547b90429b6d991ff.tar.gz ppe42-gcc-fd544fc8139ee76cbb18a2e547b90429b6d991ff.zip |
* tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of
expensive operations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97330 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
-rw-r--r-- | gcc/tree-ssa-loop-im.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |