You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've made some progress on this issue, and the reason for the crash is that the calyx.seq in the if structure is empty, and the pattern checking mechanism isn't strict enough, causing the crash when fetching the last op in the seq. After fixing this issue, a new problem arose.Apparently calyx.control is empty after canonicalize, which is the exact reason.
I think the contents of calyx.control need to be scrutinized more closely, if there is no execute semantics in it, an error should be reported, it is too late to report an error after canonicalize.
Consider this snippet, created while trying to reduce example in #7050:
Feeding this through
circt-opt -canonicalize
crashes:The text was updated successfully, but these errors were encountered: