From 60c81c899553a6673c4b2e6f0ba26c7b56abbf9c Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 3 Feb 2004 05:39:57 +0000 Subject: doloop.c, [...]: Use const0_rtx instead of GEN_INT (0). * doloop.c, optabs.c, regmove.c, sched-deps.c, config/i386/i386.c, config/i386/i386.md: Use const0_rtx instead of GEN_INT (0). Do the same for other constants that are readily available. From-SVN: r77160 --- gcc/doloop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/doloop.c') diff --git a/gcc/doloop.c b/gcc/doloop.c index 3ae6281..6d4840a 100644 --- a/gcc/doloop.c +++ b/gcc/doloop.c @@ -1,5 +1,5 @@ /* Perform doloop optimizations - Copyright (C) 1999, 2000, 2001, 2002, 2003 + Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. Contributed by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz) @@ -475,7 +475,7 @@ doloop_modify (const struct loop *loop, rtx iterations, rtx iterations_max, count = GEN_INT (INTVAL (count) - 1); else count = expand_simple_binop (GET_MODE (counter_reg), MINUS, - count, GEN_INT (1), + count, const1_rtx, 0, 0, OPTAB_LIB_WIDEN); } -- cgit v1.1