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

Added public methods to iterate all blocks of a local function + Floating point check #235

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

reuvenpo
Copy link

@reuvenpo reuvenpo commented Aug 7, 2022

This PR adds two methods to iterate over all the blocks in a LocalFunction. This allows making per-block transformations, or simple full-function analysis, without having to manually navigate the function's execution branches to find all reachable blocks. CC #234

2022-08-10 update: I added a floating point check to modules. I believe it is exhaustive but I'd love to get a review :)

@reuvenpo
Copy link
Author

seems like the CI is failing due to issues that are unrelated to my additions

@reuvenpo reuvenpo changed the title added public methods to iterate all blocks of a local function added public methods to iterate all blocks of a local function + Floating point check Aug 10, 2022
@reuvenpo reuvenpo changed the title added public methods to iterate all blocks of a local function + Floating point check Added public methods to iterate all blocks of a local function + Floating point check Aug 10, 2022
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.

2 participants