[llvm-commits] [llvm] r166169 - /llvm/trunk/docs/ReleaseNotes.html

Nadav Rotem nrotem at apple.com
Wed Oct 17 22:46:16 PDT 2012


Author: nadav
Date: Thu Oct 18 00:46:16 2012
New Revision: 166169

URL: http://llvm.org/viewvc/llvm-project?rev=166169&view=rev
Log:
Add a small example which shows a vectorizable loop with a non-pow-of-two count

Modified:
    llvm/trunk/docs/ReleaseNotes.html

Modified: llvm/trunk/docs/ReleaseNotes.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ReleaseNotes.html?rev=166169&r1=166168&r2=166169&view=diff
==============================================================================
--- llvm/trunk/docs/ReleaseNotes.html (original)
+++ llvm/trunk/docs/ReleaseNotes.html Thu Oct 18 00:46:16 2012
@@ -466,9 +466,17 @@
 <p>In addition to many minor performance tweaks and bug fixes, this release
    includes a few major enhancements and additions to the optimizers:</p>
 
-<p> Loop Vectorizer -  We've added a basic loop vectorizer and we are now able
+<p> Loop Vectorizer - We've added a basic loop vectorizer and we are now able
     to vectorize small loops. The loop vectorizer is disabled by default and
-    can be enabled using the -mllvm -vectorize flags. </p>
+    can be enabled using the -mllvm -vectorize flags. We can vectorize this code:
+
+    <pre class="doc_code">
+    for (i=0; i<n; i++) {
+      a[i] = b[i+1] + c[i+3] + i;
+    }
+    </pre>
+
+ </p>
 
 <ul>
   <li>...</li>





More information about the llvm-commits mailing list