From 895b003f8833b25958bddec3f37975915c50f547 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Sat, 20 Oct 2012 02:34:34 +0000 Subject: [PATCH] Vectorization docs. llvm-svn: 166364 --- llvm/docs/ReleaseNotes.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/llvm/docs/ReleaseNotes.html b/llvm/docs/ReleaseNotes.html index 26c5213b1297..0ef8f3d1f37a 100644 --- a/llvm/docs/ReleaseNotes.html +++ b/llvm/docs/ReleaseNotes.html @@ -466,13 +466,15 @@ Release Notes.

In addition to many minor performance tweaks and bug fixes, this release includes a few major enhancements and additions to the optimizers:

-

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: +

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 -mllvm -vectorize flag.
+ We can now vectorize this code:

     for (i=0; i<n; i++) {
       a[i] = b[i+1] + c[i+3] + i;
+      sum += d[i];
     }