I just want to try loop-unroll and see corresponding changes in the bitcode file. For that any loop will do. Have you been able to test llvm loop-unroll successfully? <br><br><div class="gmail_quote">On Mon, May 2, 2011 at 10:04 PM, Yuan Pengfei <span dir="ltr"><<a href="mailto:coolypf@qq.com">coolypf@qq.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
> The loop that I am trying it on is:<br>
> for(i=0; i< 1000; i++)<br>
> {<br>
> c[i] = a[i] + b[i];<br>
> }<br>
<br>
</div>I can't find any benefit unrolling this loop.<br>
<br>
------------------<br>
<font color="#888888">Yuan Pengfei<br>
Peking Unversity, China</font></blockquote></div><br>