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
This commit is contained in:
Tobias Grosser 2014-01-19 11:31:23 +00:00
parent 5d942f2229
commit b8cd4a8341
1 changed files with 1 additions and 1 deletions

View File

@ -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) {