diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-10-06 00:03:35 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-10-06 00:03:35 +0000 |
| commit | f53388034d30eba2e7b4af99db8d3149a5368402 (patch) | |
| tree | 49ce2ec1d62085c27f66ec76008c149cbdf084f5 /polly/lib/Exchange/JSONExporter.cpp | |
| parent | f3e3f6645e266c715be52e8df1edb33cdf4042cf (diff) | |
| download | bcm5719-llvm-f53388034d30eba2e7b4af99db8d3149a5368402.tar.gz bcm5719-llvm-f53388034d30eba2e7b4af99db8d3149a5368402.zip | |
Adapt to introduction of isl_space
Polly should now be compiled with CLooG 0c252c88946b27b7b61a1a8d8fd7f94d2461dbfd
and isl 56b7d238929980e62218525b4b3be121af386edf. The most convenient way to
update is utils/checkout_cloog.sh.
llvm-svn: 141251
Diffstat (limited to 'polly/lib/Exchange/JSONExporter.cpp')
| -rwxr-xr-x | polly/lib/Exchange/JSONExporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp index 2653868ec1f..b1dad4ee169 100755 --- a/polly/lib/Exchange/JSONExporter.cpp +++ b/polly/lib/Exchange/JSONExporter.cpp @@ -236,7 +236,7 @@ bool JSONImporter::runOnScop(Scop &scop) { continue; Json::Value schedule = jscop["statements"][index]["schedule"]; - isl_map *m = isl_map_read_from_str(S->getCtx(), schedule.asCString(), -1); + isl_map *m = isl_map_read_from_str(S->getCtx(), schedule.asCString()); NewScattering[*SI] = m; index++; } @@ -267,9 +267,9 @@ bool JSONImporter::runOnScop(Scop &scop) { Json::Value accesses = jscop["statements"][statementIdx] ["accesses"][memoryAccessIdx]["relation"]; isl_map *newAccessMap = isl_map_read_from_str(S->getCtx(), - accesses.asCString(), -1); + accesses.asCString()); isl_map *currentAccessMap = (*MI)->getAccessFunction(); - if (!isl_map_has_equal_dim(currentAccessMap, newAccessMap)) { + if (!isl_map_has_equal_space(currentAccessMap, newAccessMap)) { errs() << "JScop file contains access function with incompatible " << "dimensions\n"; isl_map_free(newAccessMap); |

