-
Notifications
You must be signed in to change notification settings - Fork 165
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
Invalid short circuiting #2084
Comments
I can take a look, but it won't be until tomorrow evening. |
Enjoy! |
This is not an urgent issue, as I rewrote double buffering entirely in a way that does not trigger this bug, but it would still be good not to leave around as a potential problem in the future. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suppose we have a program like the following:
(This is syntactically invalid in master because it makes use of the simplified index functions from #2083.)
Short-circuiting performs a a short circuit of the
concat
/copy
in the loop, storing the result directly indouble_buffer_mem_5629
. This is invalid, becausedouble_buffer_mem_5629
is still used for live data (Ap_5565, an input to theconcat
), under the name ofmem_param_5591
(a loop parameter).All the aliases look right to me, so I'm not sure why this fails.
The text was updated successfully, but these errors were encountered: