Vectorization docs.

llvm-svn: 166364
This commit is contained in:
Nadav Rotem 2012-10-20 02:34:34 +00:00
parent 3957fd5858
commit 895b003f88
1 changed files with 5 additions and 3 deletions

View File

@ -466,13 +466,15 @@ Release Notes</a>.</h1>
<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
to vectorize small loops. The loop vectorizer is disabled by default and
can be enabled using the -mllvm -vectorize flags. We can vectorize this code:
<p> Loop Vectorizer - We've added a loop vectorizer and we are now able to
vectorize small loops. The loop vectorizer is disabled by default and
can be enabled using the <b>-mllvm -vectorize</b> flag. <br/>
We can now vectorize this code:
<pre class="doc_code">
for (i=0; i&lt;n; i++) {
a[i] = b[i+1] + c[i+3] + i;
sum += d[i];
}
</pre>