diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-05 17:25:33 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-05 17:25:33 +0000 |
commit | 69e41517c264e4262d21e817e4947c8d4adbc5c6 (patch) | |
tree | 4288bc0ceecc510bdce1588734c95522f1483990 /gcc/loop-iv.c | |
parent | 95e48224ed2ab02223cd798284c02b309596415a (diff) | |
download | gcc-69e41517c264e4262d21e817e4947c8d4adbc5c6.tar.gz |
* combine.c (simplify_and_const_int): Use gen_int_mode instead
of GEN_INT (trunc_int_for_mode (...)).
* loop-iv.c (iv_number_of_iterations): Likewise.
* postreload.c (reload_cse_move2add): Likewise.
* simplify-rtx.c (simplify_const_unary_operation,
simplify_const_binary_operation): Likewise.
* stor-layout.c (get_mode_bounds): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95935 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-iv.c')
-rw-r--r-- | gcc/loop-iv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index 04f53b88d3e..99b43b74213 100644 --- a/gcc/loop-iv.c +++ b/gcc/loop-iv.c @@ -2369,8 +2369,7 @@ iv_number_of_iterations (struct loop *loop, rtx insn, rtx condition, tmp = simplify_gen_binary (UDIV, mode, tmp1, GEN_INT (d)); inv = inverse (s, size); - inv = trunc_int_for_mode (inv, mode); - tmp = simplify_gen_binary (MULT, mode, tmp, GEN_INT (inv)); + tmp = simplify_gen_binary (MULT, mode, tmp, gen_int_mode (inv, mode)); desc->niter_expr = simplify_gen_binary (AND, mode, tmp, bound); } else |