[polly] r199585 - CodeGeneration: Replace reference to isl_int with explicit mpz call.

Tobias Grosser tobias at grosser.es
Sun Jan 19 03:31:23 PST 2014


Author: grosser
Date: Sun Jan 19 05:31:23 2014
New Revision: 199585

URL: http://llvm.org/viewvc/llvm-project?rev=199585&view=rev
Log:
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.

Modified:
    polly/trunk/lib/CodeGen/CodeGeneration.cpp

Modified: polly/trunk/lib/CodeGen/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/CodeGeneration.cpp?rev=199585&r1=199584&r2=199585&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/CodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/CodeGeneration.cpp Sun Jan 19 05:31:23 2014
@@ -801,7 +801,7 @@ int ClastStmtCodeGen::getNumberOfIterati
   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) {





More information about the llvm-commits mailing list