cornell-zhang/hcl-dialect

[Op] Support break/continue-like operations in MLIR loops

Closed this issue · 2 comments

I checked the MLIR dialects we used and could not find these break/continue-like operations. It seems it may break the SSA constraint, and MLIR does not support that in the dialects. See the discussion thread.

Currently, we just raise an error and request users to rewrite the code if break/return operations are in a deep region.