<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Apr 15, 2013, at 1:33 AM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div dir="ltr">On Sun, Apr 14, 2013 at 10:56 PM, Nadav Rotem<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:nrotem@apple.com" target="_blank" class="cremed">nrotem@apple.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br><div class="gmail_extra"><div class="gmail_quote"><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 15 00:56:55 2013<br>New Revision: 179511<br><br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=179511&view=rev" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project?rev=179511&view=rev</a><br>Log:<br>Document our desire to enable the loop vectorizer on -Os in future releases.<br></blockquote><div><br></div><div>Perhaps I've missed it, but is there somewhere a discussion of this?</div></div></div></div></div></blockquote><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>For example, why, what the requirements are, what is being measured? </div></div></div></div></div></blockquote><div><br></div><div>We talked about it in the Vectorization BOF at the last developers meeting. For -Os, the idea is to enable vectorization for two scenarios. First, we want to vectorize a very small number of hot loops because its worth the increase in code size. And the second kind of loops is loops that can be vectorized without any code size increase. We already check for the 'optsize' attribute and don't vectorize loops that require a scalar tail loop. </div><div> </div><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><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;"><br>Modified:<br>   <span class="Apple-converted-space"> </span>llvm/trunk/docs/Vectorizers.rst<br><br>Modified: llvm/trunk/docs/Vectorizers.rst<br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Vectorizers.rst?rev=179511&r1=179510&r2=179511&view=diff" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Vectorizers.rst?rev=179511&r1=179510&r2=179511&view=diff</a><br>==============================================================================<br>--- llvm/trunk/docs/Vectorizers.rst (original)<br>+++ llvm/trunk/docs/Vectorizers.rst Mon Apr 15 00:56:55 2013<br>@@ -22,6 +22,7 @@ Usage<br> -----<br><br> LLVM's Loop Vectorizer is now enabled by default for -O3.<br>+We plan to enable parts of the Loop Vectorizer on -O2 and -Os in future releases.<br> The vectorizer can be disabled using the command line:<br><br> .. code-block:: console<br><br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu" class="cremed">llvm-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank" class="cremed">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br></blockquote></div><br></div></div></div><br class="Apple-interchange-newline"></blockquote></div><br></body></html>