[llvm-commits] [polly] r137607 - /polly/trunk/www/documentation/memaccess.html
Raghesh Aloor
raghesh.a at gmail.com
Mon Aug 15 02:37:46 PDT 2011
Author: raghesh
Date: Mon Aug 15 04:37:46 2011
New Revision: 137607
URL: http://llvm.org/viewvc/llvm-project?rev=137607&view=rev
Log:
www: Updating memaccess Documentation
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=137607&r1=137606&r2=137607&view=diff
==============================================================================
--- polly/trunk/www/documentation/memaccess.html (original)
+++ polly/trunk/www/documentation/memaccess.html Mon Aug 15 04:37:46 2011
@@ -85,6 +85,24 @@
<h3>Step 2</h3>
Update the code generation module to reflect the access function change made
in Step 1.
+<h3>Step 2.1 Code generation for a constant</h3>
+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:
+<pre>
+"accesses" : [{
+ "kind" : "read",
+ "relation" : "{ Stmt_for_body[i0] -> MemRef_A[i0] }"
+}]
+</pre>
+The transformed JSCOP file is:
+<pre>
+"accesses" : [{
+ "kind" : "read",
+ "relation" : "{ Stmt_for_body[i0] -> MemRef_A[10] }"
+}]
+</pre>
+Code is generated for this change.
</div>
</body>
</html>
More information about the llvm-commits
mailing list