aboutsummaryrefslogtreecommitdiff
path: root/gcc/lambda-code.c
diff options
context:
space:
mode:
authorSebastian Pop <pop@cri.ensmp.fr>2005-08-23 10:24:20 +0200
committerSebastian Pop <spop@gcc.gnu.org>2005-08-23 08:24:20 +0000
commit37b8a73b503a6d664904f511618b71ca37b3f6c0 (patch)
tree519608c83e01fb34fcdea8849d3554eaca59bf38 /gcc/lambda-code.c
parentce8f9416becbb4a98583e9cbd16a281b70a68938 (diff)
downloadgcc-37b8a73b503a6d664904f511618b71ca37b3f6c0.zip
gcc-37b8a73b503a6d664904f511618b71ca37b3f6c0.tar.gz
gcc-37b8a73b503a6d664904f511618b71ca37b3f6c0.tar.bz2
lambda-code.c (lambda_vector_lexico_pos): Moved...
* lambda-code.c (lambda_vector_lexico_pos): Moved... * lambda.h (lambda_vector_lexico_pos): ... here. * tree-data-ref.c (build_classic_dist_vector): Return false when the distance vector is lexicographically negative. From-SVN: r103392
Diffstat (limited to 'gcc/lambda-code.c')
-rw-r--r--gcc/lambda-code.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/lambda-code.c b/gcc/lambda-code.c
index 29b3e5a..cf995a3 100644
--- a/gcc/lambda-code.c
+++ b/gcc/lambda-code.c
@@ -2010,27 +2010,6 @@ lambda_loopnest_to_gcc_loopnest (struct loop *old_loopnest,
VEC_free (tree, heap, new_ivs);
}
-/* Returns true when the vector V is lexicographically positive, in
- other words, when the first nonzero element is positive. */
-
-static bool
-lambda_vector_lexico_pos (lambda_vector v,
- unsigned n)
-{
- unsigned i;
- for (i = 0; i < n; i++)
- {
- if (v[i] == 0)
- continue;
- if (v[i] < 0)
- return false;
- if (v[i] > 0)
- return true;
- }
- return true;
-}
-
-
/* Return TRUE if this is not interesting statement from the perspective of
determining if we have a perfect loop nest. */