aboutsummaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@gcc.gnu.org>1999-08-02 15:44:50 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>1999-08-02 15:44:50 +0000
commit0865c6314ef0542cf915f1a07e4ad43a9cd0d2e9 (patch)
tree0590639133f50d9e0624a4599e7d51eeca1c9bce /gcc/unroll.c
parentccc0b2f9b51cbdc92aded8e71484d6b2b3e5fdfd (diff)
downloadgcc-0865c6314ef0542cf915f1a07e4ad43a9cd0d2e9.zip
gcc-0865c6314ef0542cf915f1a07e4ad43a9cd0d2e9.tar.gz
gcc-0865c6314ef0542cf915f1a07e4ad43a9cd0d2e9.tar.bz2
Unroll my commit of 1999/08/01 16:14:58, there was a communications mixup
about its status. From-SVN: r28403
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r--gcc/unroll.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c
index 7ce3a38..d6dbcf0 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -3588,7 +3588,6 @@ loop_iterations (loop_start, loop_end, loop_info)
rtx comparison, comparison_value;
rtx iteration_var, initial_value, increment, final_value;
enum rtx_code comparison_code;
- enum machine_mode comparison_mode;
HOST_WIDE_INT abs_inc;
unsigned HOST_WIDE_INT abs_diff;
int off_by_one;
@@ -3653,7 +3652,6 @@ loop_iterations (loop_start, loop_end, loop_info)
invariant register when it canonicalizes the comparison. */
comparison_code = GET_CODE (comparison);
- comparison_mode = GET_MODE (comparison);
iteration_var = XEXP (comparison, 0);
comparison_value = XEXP (comparison, 1);
@@ -3993,10 +3991,6 @@ loop_iterations (loop_start, loop_end, loop_info)
else
abort ();
- /* It may be that comparison_mode is smaller than a HOST_WIDE_INT,
- for instance on a 64-bit host when comparison_mode is SImode. */
- abs_diff &= GET_MODE_MASK (comparison_mode);
-
/* For NE tests, make sure that the iteration variable won't miss
the final value. If abs_diff mod abs_incr is not zero, then the
iteration variable will overflow before the loop exits, and we