[PATCH] D36370: [Polly] Fix for the JSON Exporter

Mike via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 6 02:30:13 PDT 2017


Mike_Jongen created this revision.
Mike_Jongen added a project: Polly.
Herald added a reviewer: bollu.

Small patch to fix the JSON exporter.

Currently, using "opt -polly-export-jscop" does not generate jscop files, but gives an error:

- Error in `opt': corrupted double-linked list: 0x0000000000bc4bb0 ***

Updated the function getAccessRelationStr() to work with the current version of getAccessRelation(), fixing the JSON exporter


https://reviews.llvm.org/D36370

Files:
  lib/Analysis/ScopInfo.cpp


Index: lib/Analysis/ScopInfo.cpp
===================================================================
--- lib/Analysis/ScopInfo.cpp
+++ lib/Analysis/ScopInfo.cpp
@@ -701,7 +701,7 @@
 }
 
 std::string MemoryAccess::getAccessRelationStr() const {
-  return isl::manage(getAccessRelation().get()).to_str();
+  return getAccessRelation().to_str();
 }
 
 isl::basic_map MemoryAccess::createBasicAccessMap(ScopStmt *Statement) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36370.109908.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170806/48e64eb7/attachment.bin>


More information about the llvm-commits mailing list