[cfe-dev] for loop unrolling
ponnala.kalyan at gmail.com
Mon Apr 5 18:39:23 PDT 2010
I was trying to step through the code for the following FOR loop. When I
printed out the IR for some program with this FOR loop, it actually unrolled
the loop. I could not see this when I tried to step through the code. Can
someone tell me where to put the breakpoints to see how this loop is
unrolled. And is there any way to tell it not to unroll the code?
for (i=0; i< 10; i++)
a[i] = i ;
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev