-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unifying RETURN_VALUE bytecode #90
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
RETURN_VALUE
bytecode is not unified by when SCFG join returns. This leads to SCFG that semantically terminates in the middle of switches.For example:
The bytecode is:
The SCFG
Notice that both "branch" regions contain a
RETURN_VALUE
.I have two workarounds at sklam/numba@c9d3634:
Update - Aug 4
I have a new workaround that solely addresses the problem in RVSDG->NumbaIR (bcinterp.py) at numba/numba@a117aae. It relies on interpreting
RETURN_VALUE
as non terminating.The text was updated successfully, but these errors were encountered: