Example :
void top(int *a, int *b)
{
L1 : for (int i = 0; i < *a; i++)
{
for (int j = 0; j < 5; j++)
{
*b += *a;
}
}
}
Can I call the above nested loop L1 as perfect loop nest? A perfect loop nest should have constant bounds. I'm unclear if this situation comes into constant loop bound scenario.