Skip to content

[scf-to-calyx] Mark cf operations illegal #5031

Open
@asraa

Description

Hi! I just posted on the #circt channel on discord about a model I had that I tried to pass to CIRCT to lower to Calyx via -lower-scf-to-calyx. It seems like it takes a few hours at least, and sometime just crashes my machine - which is very strange, since the model is pretty simple with mostly arithmetic operations and 163 if statements that are represented with conditional branches (they were scf.if statements, but converted to cf with convert-scf-to-cf.

This is the model: https://gist.github.com/asraa/93f10e86abcc3fe386eec172cb918e5c

I'll be poking around the conversion code near the conditional branch handling, just in case, and if I see something suspicious I'll update this thread.

LogicalResult buildCFGControl(DenseSet<Block *> path,

Thank you!

@mikeurbach for CC, thank you for responding in the chat!

Metadata

Assignees

No one assigned

    Labels

    CalyxThe Calyx dialectbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions