From 5d1b6ce83c679e3644b7dffaff63057fb43c1eff Mon Sep 17 00:00:00 2001 From: Raghesh Aloor Date: Mon, 15 Aug 2011 09:37:46 +0000 Subject: [PATCH] www: Updating memaccess Documentation llvm-svn: 137607 --- polly/www/documentation/memaccess.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/polly/www/documentation/memaccess.html b/polly/www/documentation/memaccess.html index 9e51d4299a36..0beeb8234fa3 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. -- GitLab