<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 8, 2013 at 5:34 PM, Nadav Rotem <span dir="ltr"><<a href="mailto:nrotem@apple.com" target="_blank">nrotem@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Author: nadav<br>
Date: Mon Apr  8 16:34:49 2013<br>
New Revision: 179060<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=179060&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=179060&view=rev</a><br>
Log:<br>
Update the docs about the fact that the loop vectorizer is enabled by default for -O3.<br>
<br>
Modified:<br>
    llvm/trunk/docs/Vectorizers.rst<br>
<br>
Modified: llvm/trunk/docs/Vectorizers.rst<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Vectorizers.rst?rev=179060&r1=179059&r2=179060&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Vectorizers.rst?rev=179060&r1=179059&r2=179060&view=diff</a><br>

==============================================================================<br>
--- llvm/trunk/docs/Vectorizers.rst (original)<br>
+++ llvm/trunk/docs/Vectorizers.rst Mon Apr  8 16:34:49 2013<br>
@@ -21,19 +21,14 @@ The Loop Vectorizer<br>
 Usage<br>
 -----<br>
<br>
-LLVM's Loop Vectorizer is now available and will be useful for many people.<br>
-It is not enabled by default, but can be enabled through clang using the<br>
-command line flag:<br>
+LLVM's Loop Vectorizer is now enabled by default for -O3.<br>
+The vectorizer can be disabled using the command line:<br>
<br>
 .. code-block:: console<br>
<br>
-   $ clang -fvectorize -O3 file.c<br>
+   $ clang ... -fno-vectorize  file.c<br>
<br>
-If the ``-fvectorize`` flag is used then the loop vectorizer will be enabled<br>
-when running with ``-O3``, ``-O2``. When ``-Os`` is used, the loop vectorizer<br>
-will only vectorize loops that do not require a major increase in code size.<br>
-<br>
-We plan to enable the Loop Vectorizer by default as part of the LLVM 3.3 release.<br>
+At this point the loop vectorizer is only enabled for -O3, and will not work for -O2 or -Os.<br></blockquote><div><br></div><div style>On a first reading, I interpret "will not work" here as "is broken/buggy" (and that seems like it would require a proper explanation anyway). Please clarify the wording.</div>
<div style><br></div><div style>-- Sean Silva</div></div></div></div>