-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Moore] Input triggers assertion in canonicalizer infra #7531
Comments
@hailongSun2000 let's have a look. |
Hey, @maerhart. After I modify the code snippet from
to
It can work. |
For the Snitch RISC-V Core, does it will generate |
Not directly, I used There are a few things that we might want to investigate:
|
Your example is so special 🧐!
I use the |
I think the first thing we should do is find the pass in the circt-verilog pipeline that leaves behind these blocks with no predecessors and make sure that it removes them. They are causing issues at several places, so fixing it at the root is probably the easiest solution for now. |
circt-opt -canonicalize
triggers an assertion on the following input. Maybe an upstream bug?Assertion failed: (mayBeGraphRegion(*op->getParentRegion()) && "expected that op has no uses"), function operator(), file PatternMatch.cpp, line 182.
The text was updated successfully, but these errors were encountered: