mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 23:31:50 +08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user