-
Notifications
You must be signed in to change notification settings - Fork 70
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
Unroll / ILP unaware of conditionals #37
Comments
Good catch, thanks for the report. For now, predicates are simply strings representing variable names, but your examples demonstrate that that simply won't suffice. I'll have to allow expressions to allow for these transformations to happen. Not a huge change in principle--I'll see what I can do.
already exists. |
This commit addresses the ILP concern, and it's possible that it might also address the unroll case, but I haven't tested that yet. There are a few loose ends:
|
Hi, I'm starting to get involved with loopy, and I noticed that the unroll / ILP tag doesn't seem to be aware of what happens in a conditional.
E.g. for this simple example:
I get the following output:
Note that the if(Tcond) did not update as expected.
If we use a similar example for unrolling:
we get a similarly flawed output:
I'm running the latest commit, r2e562728
I'm fairly new to the machinery behind loopy. Where would I start looking to correct this?
Also, as a side-note, is it possible to do else statements?
The text was updated successfully, but these errors were encountered: