This patch changes the while loop generated for iterating over a fully reduced sparse level with affine index expression.
Before:
cont = true while (cont) { if (inBound()) { .... cont = true; } else { cont = false; } }
After:
while(inBound()) { .... }