[LLVMdev] Loop-Unroll optimization

Manish Gupta mgupta.iitr at gmail.com
Mon May 2 17:11:59 PDT 2011


I am trying loop-unroll optimization but it is not affecting the bit code.
When I looked the loop unroll code it seems to be expecting three
parameter(UnrollThreshold, UnrollCount, UnrollAllowPartial) from the user.
Do I need to pass these parameter to activate loop unroll?

*The loop that I am trying it on is:*
 for(i=0; i< 1000; i++)
    {
      c[i] = a[i] + b[i];
    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110502/c9a04b43/attachment.html>


More information about the llvm-dev mailing list