<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<div class="moz-cite-prefix">On 06/23/2017 09:39 PM, hameeza ahmed
wrote:<br>
</div>
<blockquote
cite="mid:CAFMPKeZ37xGG0HHBzmsPZm90a+9c017Fb+z9uQHFYLeZ99jpeg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">thank you;
<div>did with this;</div>
<div><span style="color:rgb(0,0,0);font-family:"Lucida
Grande","Lucida Sans
Unicode",Geneva,Verdana,sans-serif;font-size:14px">-force-vector-interleave.</span><br>
</div>
<div><span style="color:rgb(0,0,0);font-family:"Lucida
Grande","Lucida Sans
Unicode",Geneva,Verdana,sans-serif;font-size:14px"><br>
</span></div>
<div><span style="color:rgb(0,0,0);font-family:"Lucida
Grande","Lucida Sans
Unicode",Geneva,Verdana,sans-serif;font-size:14px">What
is the difference between </span><span
style="background-color:rgb(248,248,248);color:rgb(0,0,0);font-family:Consolas,"Deja
Vu Sans Mono","Bitstream Vera Sans
Mono",monospace;font-size:0.95em">-loop-vectorize and
-O3 in opt?</span></div>
<div><span
style="background-color:rgb(248,248,248);color:rgb(0,0,0);font-family:Consolas,"Deja
Vu Sans Mono","Bitstream Vera Sans
Mono",monospace;font-size:0.95em">I am using O3 its
fine?</span></div>
</div>
</blockquote>
<br>
-O3 enables a bunch of different optimizations, the loop vectorizer
included.<br>
<br>
-Hal<br>
<br>
<blockquote
cite="mid:CAFMPKeZ37xGG0HHBzmsPZm90a+9c017Fb+z9uQHFYLeZ99jpeg@mail.gmail.com"
type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Jun 24, 2017 at 7:33 AM, Hal
Finkel <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>As I recall, you can use #pragma clang loop unroll(n)
interleave(m)</p>
<p>To use an unrolling factor of n and an interleaving
factor of m.</p>
<p> -Hal<br>
</p>
<span class="">
<div class="m_-7851414923005908202moz-cite-prefix">On
06/23/2017 09:30 PM, hameeza ahmed wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">how to set loop unroll factor in llvm?
<div class="gmail_extra"><br>
<div class="gmail_quote"><br>
</div>
</div>
</div>
</blockquote>
<br>
</span><span class="HOEnZb"><font color="#888888">
<pre class="m_-7851414923005908202moz-signature" cols="72">--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory</pre>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory</pre>
</body>
</html>