How do we know last statement of a basic block both in case of terminator and without terminator?
int x, y, z;
x = 10;
y = 0;
if (x > 0)
z = 1;
z = 0;
I want to know if y = 0; is last statement in basic block (excluding condition x > 0 in this block).
Also, z = 1; or z = 0; are last statements in their respective basic blocks.