<div style="font-family: arial, helvetica, sans-serif; font-size: 10pt"><div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 11:29 AM, Nadav Rotem <span dir="ltr"><<a href="mailto:nrotem@apple.com" target="_blank" class="cremed">nrotem@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":25j">@@ -93,8 +91,15 @@<br>
       VTTI = TTI->getVectorTargetTransformInfo();<br>
     // Use the cost model.<br>
     LoopVectorizationCostModel CM(L, SE, &LVL, VTTI);<br>
+<br>
+    // Check the function attribues to find out if this function should be<br>
+    // optimized for size.<br>
+    Function *F = L->getHeader()->getParent();<br>
+    bool OptForSize =<br>
+    F->getFnAttributes().hasAttribute(Attributes::OptimizeForSize);<br></div></blockquote><div><br></div><div style>This indent seems odd... </div></div></div></div></div>