Without this patch, CIR CodeGen continue to generate in the same block after cir.break and cir.continue, which would cause verification error because cir.break and cir.continue should appear at the end of blocks.
This patch creates a new dangling block after generating cir.break and cir.continue to fix the issue.
Without this patch, CIR CodeGen continue to generate in the same block after
cir.break
andcir.continue
, which would cause verification error becausecir.break
andcir.continue
should appear at the end of blocks.This patch creates a new dangling block after generating
cir.break
andcir.continue
to fix the issue.This will fix #323.