[Polly] Fix for the JSON Exporter
authorTobias Grosser <tobias@grosser.es>
Sun, 6 Aug 2017 11:41:10 +0000 (11:41 +0000)
committerTobias Grosser <tobias@grosser.es>
Sun, 6 Aug 2017 11:41:10 +0000 (11:41 +0000)
commit2b7479b1afe7edbca762d4deb2b6fae1cb35034a
treee54f7e7bdfc1475e7613fb705adfca3c8a56ebad
parent5489781cc7bdc681e618df3f279c49b457f56131
[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