On 08/13/2015 09:06 PM, Bin.Cheng wrote:
Thanks for the comment.
IIUC, the niter information in struct tree_niter_desc means the number
of executions of the latch of the loop, so it's 254, rather than 255.
And same the bound information. Of course, statements in the loop
body could execute bound+1 times depending on its position in loop.
For example, struct nb_iter_bound is to describe number of iterations
of statements(exit conditions).
Ah, if we go to tree_niter_desc, niter is defined as the # executions of
the loop latch. That's what I was missing. Now back to the real review
work :-)
jeff