2010-07-15 Andreas Simbuerger <simbuerg@fim.uni-passau.de>
* graphite-cloog-util.c
(cloog_matrix_to_ppl_constraint): Fix flipped condition.
* graphite-poly.c
(psct_scattering_dim_for_loop_depth): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163137
138bc75d-0d04-0410-961f-
82ee72b054a4
2010-08-02 Andreas Simbuerger <simbuerg@fim.uni-passau.de>
+ * graphite-cloog-util.c
+ (cloog_matrix_to_ppl_constraint): Fix flipped condition.
+ * graphite-poly.c
+ (psct_scattering_dim_for_loop_depth): Same.
+
+2010-08-02 Andreas Simbuerger <simbuerg@fim.uni-passau.de>
+
* graphite-cloog-util.h: Added cloog.h.
* graphite-blocking.c: Removed cloog.h.
* graphite-dependences.c: Same.
+2010-07-15 Andreas Simbuerger <simbuerg@fim.uni-passau.de>
+
+ * graphite-cloog-util.c
+ (cloog_matrix_to_ppl_constraint): Fix flipped condition.
+ * graphite-poly.c
+ (psct_scattering_dim_for_loop_depth): Same.
+
2010-07-07 Sebastian Pop <sebastian.pop@amd.com>
* gfortran.dg/graphite/id-20.f: New.
ppl_Linear_Expression_add_to_inhomogeneous (expr, coef);
ppl_delete_Coefficient (coef);
- if (mpz_sgn (matrix->p[row][0]))
+ if (mpz_sgn (matrix->p[row][0]) == 0)
ppl_new_Constraint (&cstr, expr, PPL_CONSTRAINT_TYPE_EQUAL);
else
ppl_new_Constraint (&cstr, expr, PPL_CONSTRAINT_TYPE_GREATER_OR_EQUAL);
ppl_Linear_Expression_coefficient (expr, iter, coef);
ppl_Coefficient_to_mpz_t (coef, val);
- if (mpz_sgn (val))
+ if (mpz_sgn (val) == 0)
{
ppl_delete_Linear_Expression (expr);
continue;