From 495dd053ed915767d2b18737682f5296172b9b98 Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Wed, 20 Aug 2014 17:15:34 +0000 Subject: [PATCH] [Fix] isl usage errors in ScheduleOptimizer llvm-svn: 216084 --- polly/lib/Transform/ScheduleOptimizer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/polly/lib/Transform/ScheduleOptimizer.cpp b/polly/lib/Transform/ScheduleOptimizer.cpp index 16c6e54b812d..0e086d172a32 100644 --- a/polly/lib/Transform/ScheduleOptimizer.cpp +++ b/polly/lib/Transform/ScheduleOptimizer.cpp @@ -344,12 +344,12 @@ isl_map *IslScheduleOptimizer::getPrevectorMap(isl_ctx *ctx, int DimToVectorize, // DimToVectorize to the point loop at the innermost dimension. for (int i = 0; i < ScheduleDimensions; i++) { c = isl_equality_alloc(isl_local_space_copy(LocalSpace)); - isl_constraint_set_coefficient_si(c, isl_dim_in, i, -1); + c = isl_constraint_set_coefficient_si(c, isl_dim_in, i, -1); if (i == DimToVectorize) - isl_constraint_set_coefficient_si(c, isl_dim_out, PointDimension, 1); + c = isl_constraint_set_coefficient_si(c, isl_dim_out, PointDimension, 1); else - isl_constraint_set_coefficient_si(c, isl_dim_out, i, 1); + c = isl_constraint_set_coefficient_si(c, isl_dim_out, i, 1); TilingMap = isl_map_add_constraint(TilingMap, c); }