From b8cd4a83411ebdcb6c269a805077614b5f179bf2 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sun, 19 Jan 2014 11:31:23 +0000 Subject: [PATCH] CodeGeneration: Replace reference to isl_int with explicit mpz call. This removes the last isl_int dependency in the default build. There are still some in OpenScop and Scoplib. For those isl-0.12.2 still needs to be used. llvm-svn: 199585 --- polly/lib/CodeGen/CodeGeneration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp index 75741d30785bc..d98e7cf3062dd 100644 --- a/polly/lib/CodeGen/CodeGeneration.cpp +++ b/polly/lib/CodeGen/CodeGeneration.cpp @@ -801,7 +801,7 @@ int ClastStmtCodeGen::getNumberOfIterations(const clast_for *For) { int NumberOfIterations = polly::getNumberOfIterations(LoopDomain); if (NumberOfIterations == -1) return -1; - return NumberOfIterations / isl_int_get_si(For->stride) + 1; + return NumberOfIterations / mpz_get_si(For->stride) + 1; } void ClastStmtCodeGen::codegenForVector(const clast_for *F) {