Skip to content
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

Support bounds widening for conditionals with for loops #804

Closed
wants to merge 5 commits into from

Conversation

mgrang
Copy link

@mgrang mgrang commented Mar 6, 2020

Added support for widenening bounds for nt_array_ptr dereferences in for
loops. For example, "for (; *p; ) {}" would widen the bounds of p upon
entry to the loop.

Mandeep Singh Grang added 4 commits March 5, 2020 18:49
Added support for widenening bounds for nt_array_ptr dereferences in while
loops. For example, "while (*p) {}" would widen the bounds of p upon
entry to the loop.

In order to handle loops we initialize the In and Out sets of the entry block
as empty. This is done so that we can handle loop back edges and unconditional
jumps.
Added support for widenening bounds for nt_array_ptr dereferences in for
loops. For example, "for (; *p; ) {}" would widen the bounds of p upon
entry to the loop.
@mgrang
Copy link
Author

mgrang commented Mar 6, 2020

This follows from the PR on while loops: #803

@mgrang
Copy link
Author

mgrang commented Mar 9, 2020

#805 follows this PR.

@mgrang mgrang removed request for kkjeer and dtarditi March 20, 2020 17:38
@mgrang
Copy link
Author

mgrang commented Mar 20, 2020

Closing this in favor of #811

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant