summaryrefslogtreecommitdiffstats
path: root/polly/lib/Exchange
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-07-11 10:10:13 +0000
committerTobias Grosser <tobias@grosser.es>2017-07-11 10:10:13 +0000
commit6a4c12fb338f359953ef7d04c9efe680a41392dc (patch)
tree50c35e459d75fd5093035edde3e1b0e868e68a50 /polly/lib/Exchange
parenta2e5ecc1f39c7b70dd838751eb783300e8a6a02e (diff)
downloadbcm5719-llvm-6a4c12fb338f359953ef7d04c9efe680a41392dc.tar.gz
bcm5719-llvm-6a4c12fb338f359953ef7d04c9efe680a41392dc.zip
Always export the latest memory access relations
This allows us to export the results from transformations such as DeLICM. llvm-svn: 307641
Diffstat (limited to 'polly/lib/Exchange')
-rw-r--r--polly/lib/Exchange/JSONExporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp
index c79a0114004..39af8a52fc7 100644
--- a/polly/lib/Exchange/JSONExporter.cpp
+++ b/polly/lib/Exchange/JSONExporter.cpp
@@ -202,7 +202,7 @@ Json::Value JSONExporter::getJSON(Scop &S) const {
Json::Value access;
access["kind"] = MA->isRead() ? "read" : "write";
- access["relation"] = MA->getOriginalAccessRelationStr();
+ access["relation"] = MA->getAccessRelationStr();
statement["accesses"].append(access);
}
OpenPOWER on IntegriCloud