Displaying 1 result from an estimated 1 matches for "constant_bound".
2011 Dec 14
1
[LLVMdev] SCEV cannot derive number of loop iterations
Hi,
I am looking at two very simple kernels. They implement the following loops:
constant_bound():
for (int i = 0; i < 100; i+=4);
parameteric_bound():
for (int i = 0; i < n; i+=4);
For the first loop SCEV is able to derive the number of loop iterations,
for the second loop it returns 'Unpredictable backedge-taken count'.
Is this expected because it is a difficult problem o...