From 2b7479b1afe7edbca762d4deb2b6fae1cb35034a Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sun, 6 Aug 2017 11:41:10 +0000 Subject: [PATCH] [Polly] Fix for the JSON Exporter Summary: 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 Reviewers: bollu, grosser Reviewed By: grosser Subscribers: grosser, llvm-commits, pollydev Tags: #polly Differential Revision: https://reviews.llvm.org/D36370 llvm-svn: 310199 --- polly/lib/Analysis/ScopInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index 515a505..d7b6f04 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -701,7 +701,7 @@ std::string MemoryAccess::getNewAccessRelationStr() const { } std::string MemoryAccess::getAccessRelationStr() const { - return isl::manage(getAccessRelation().get()).to_str(); + return getAccessRelation().to_str(); } isl::basic_map MemoryAccess::createBasicAccessMap(ScopStmt *Statement) { -- 2.7.4