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

[jit] allow non-final returns #15463

Closed
wants to merge 6 commits into from
Closed

Conversation

zdevito
Copy link
Contributor

@zdevito zdevito commented Dec 21, 2018

This PR allows a subclass of programs that have return statements that are not final in the graph.

final_returns.h contains the a comment describing how this is accomplished.
To minimize complexity in compiler.cpp, this pass is done as an AST-to-AST rewrite before the compiler runs.

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Dec 21, 2018
@zdevito zdevito force-pushed the pr/if_fix branch 2 times, most recently from de74c93 to 695309b Compare December 21, 2018 02:33
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zdevito has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zdevito has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oncall: jit Add this issue/PR to JIT oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants