diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-18 05:46:16 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-18 05:46:16 +0000 |
commit | e4e00f2cfecea7649dee554f815531084347c1ef (patch) | |
tree | 4b204b7f921e9aa96cef139f58c28cc5daaba5d1 /docs | |
parent | 3b9a911efcf280950f878a050728450423875639 (diff) |
Add a small example which shows a vectorizable loop with a non-pow-of-two count
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ReleaseNotes.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index ea29ccee97..26c5213b12 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -466,9 +466,17 @@ 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 +<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> |