fix next is a phi node

Signed-off-by: xiehuc <xiehuc@gmail.com>