Skip to content

Commit

Permalink
CodeGeneration: Replace reference to isl_int with explicit mpz call.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tobiasgrosser committed Jan 19, 2014
1 parent 5d942f2 commit b8cd4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polly/lib/CodeGen/CodeGeneration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b8cd4a8

Please sign in to comment.