Skip to content

Commit b8cd4a8

Browse files
committed
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
1 parent 5d942f2 commit b8cd4a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polly/lib/CodeGen/CodeGeneration.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ int ClastStmtCodeGen::getNumberOfIterations(const clast_for *For) {
801801
int NumberOfIterations = polly::getNumberOfIterations(LoopDomain);
802802
if (NumberOfIterations == -1)
803803
return -1;
804-
return NumberOfIterations / isl_int_get_si(For->stride) + 1;
804+
return NumberOfIterations / mpz_get_si(For->stride) + 1;
805805
}
806806

807807
void ClastStmtCodeGen::codegenForVector(const clast_for *F) {

0 commit comments

Comments
 (0)