-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Lang] [ir] Move short-circuit boolean logic into AST-to-IR passes #4580
Conversation
✅ Deploy Preview for docsite-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
2e1cc4e
to
eafa0b1
Compare
eafa0b1
to
7e691bc
Compare
Two tests were failing because I used the new
|
I have tested locally with |
@strongoier I think this is good to merge for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…aichi-dev#4580) * [Lang] [ir] Move short-circuit boolean logic into AST-to-IR passes * [Lang] Enable short circuit bool operators by default * [ir] Remove true_mask and false_mask in IfStmt & mask_var in Block * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Related issue = #3572, #3635, Fixes #4804