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
brilirs fails on seemingly well-formed program #295
Comments
Thanks a bunch for report this! It turned out to be a simple fix in Try out the fix for yourself, let me know what else you run into(or any random questions). |
Awesome; many thanks to both of you! @Pat-Lafon beat me to it, but FWIW here is a reduced test case that elicits the same issue:
I can confirm that #296 fixes this! A round of applause for @Pat-Lafon. 👏 |
As part of my dataflow analysis lesson task, I came up with some funky Bril programs to stress the worklist algorithm. The following program (which is easier to understand when the order of the basic blocks is reversed) fails with
brilirs -p false false
but passesbrili -p false false
andbrilck
. It also seems to obey the list of rules given in the Bril documentation.For reference, here is the Python code I used to generate the program.
brilirs
has been super useful thus far, but I'm not super familiar with Rust so it'd be nice if a Rustacean could help us out here :)The text was updated successfully, but these errors were encountered: