diff --git a/polly/www/documentation/memaccess.html b/polly/www/documentation/memaccess.html index 9e51d4299a367b35a920525536d7bee99f66b13a..0beeb8234fa3535f280e196c4007b3bd25d3a078 100644 --- a/polly/www/documentation/memaccess.html +++ b/polly/www/documentation/memaccess.html @@ -85,6 +85,24 @@ We need to detect this access function change.

Step 2

Update the code generation module to reflect the access function change made in Step 1. +

Step 2.1 Code generation for a constant

+In the JSCOP file an access function which has variables is changed to a +constant. Code is generated to reflect this change. Let the content of original +JSCOP file be: +
+"accesses" : [{
+        "kind" : "read",
+                 "relation" : "{ Stmt_for_body[i0] -> MemRef_A[i0] }"
+}]
+
+The transformed JSCOP file is: +
+"accesses" : [{
+        "kind" : "read",
+                 "relation" : "{ Stmt_for_body[i0] -> MemRef_A[10] }"
+}]
+
+Code is generated for this change.