forked from OSchip/llvm-project
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:
parent
5d942f2229
commit
b8cd4a8341
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue