forked from OSchip/llvm-project
[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
This commit is contained in:
parent
5489781cc7
commit
2b7479b1af
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue