[llvm-commits] [polly] r152795 - /polly/trunk/www/documentation/memaccess.html

Raghesh Aloor raghesh.a at gmail.com
Thu Mar 15 04:40:05 PDT 2012


Author: raghesh
Date: Thu Mar 15 06:40:05 2012
New Revision: 152795

URL: http://llvm.org/viewvc/llvm-project?rev=152795&view=rev
Log:
Memaccess: Updating Documentation

Adding documentation for changes in coefficients of induction
variables.

Modified:
    polly/trunk/www/documentation/memaccess.html

Modified: polly/trunk/www/documentation/memaccess.html
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/documentation/memaccess.html?rev=152795&r1=152794&r2=152795&view=diff
==============================================================================
--- polly/trunk/www/documentation/memaccess.html (original)
+++ polly/trunk/www/documentation/memaccess.html Thu Mar 15 06:40:05 2012
@@ -103,6 +103,23 @@
 }]
 </pre>
 Code is generated for this change.
+<h3>Step 2.2 Code generation for coefficients</h3>
+The coefficients of induction variables are changed here. Let the original
+JSCOP file be:
+<pre>
+"accesses" : [{
+      "kind" : "read",
+               "relation" : "{ Stmt_for_body3[i0, i1] -> MemRef_A[32i0+i1] }"
+}]
+</pre>
+The transformed JSCOP file is:
+<pre>
+"accesses" : [{
+      "kind" : "read",
+               "relation" : "{ Stmt_for_body3[i0, i1] -> MemRef_A[16i0+2i1+5] }"
+}]
+</pre>
+Code is generated for this change.
 </div>
 </body>
 </html>





More information about the llvm-commits mailing list