aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-interchange.c
diff options
context:
space:
mode:
authorAndreas Simbuerger <simbuerg@fim.uni-passau.de>2010-08-11 20:26:29 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-08-11 20:26:29 +0000
commit589ac63c0e4385caf707ed9a496cf541bc9bd6ab (patch)
treeaa0d249fafd9afd47565cd6a7233df81b5380f28 /gcc/graphite-interchange.c
parent3e40cb77a82cd82674c6b611fb3180f45cbd0bd5 (diff)
downloadgcc-589ac63c0e4385caf707ed9a496cf541bc9bd6ab.zip
gcc-589ac63c0e4385caf707ed9a496cf541bc9bd6ab.tar.gz
gcc-589ac63c0e4385caf707ed9a496cf541bc9bd6ab.tar.bz2
Resolve CLooG's value_* macros to their respective mpz_* counterparts.
2010-07-04 Andreas Simbuerger <simbuerg@fim.uni-passau.de> * graphite-clast-to-gimple.c (precision_for_value): Resolve value_* calls to matching mpz_* calls. (precision_for_interval): Same. (gcc_type_for_interval): Same. (compute_type_for_level): Same. * graphite-interchange.c (lst_interchange_profitable_p): Same. * graphite-poly.c (psct_scattering_dim_for_loop_depth): Same. * graphite-ppl.c (ppl_max_for_le_pointset): Same. (ppl_min_for_le_pointset): Same. From-SVN: r163133
Diffstat (limited to 'gcc/graphite-interchange.c')
-rw-r--r--gcc/graphite-interchange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graphite-interchange.c b/gcc/graphite-interchange.c
index 0a7a749..de3bf25 100644
--- a/gcc/graphite-interchange.c
+++ b/gcc/graphite-interchange.c
@@ -478,7 +478,7 @@ lst_interchange_profitable_p (lst_p loop1, lst_p loop2)
memory_strides_in_loop (loop1, lst_depth (loop1), d1);
memory_strides_in_loop (loop2, lst_depth (loop2), d2);
- res = value_lt (d1, d2);
+ res = mpz_cmp (d1, d2) < 0;
mpz_clear (d1);
mpz_clear (d2);