-
Notifications
You must be signed in to change notification settings - Fork 183
[CIR] Add dedicated CIR op for setjmp #1853
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
Conversation
tommymcm
left a comment
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.
High-level comments
tommymcm
left a comment
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.
A few more nits on the description. A little confused by the current one.
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.
Getting closer, thanks for the updates!
Seems like this PR is missing the CIRGen change that emits cir.eh.setjmp, can you please add it as part of this PR?
yep on it |
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.
test_setjmp2 function in both test files needs to be updated as well. It should codegen a cir.eh.setjmp ... (w/o builtin)
Once that's done, it would lgtm
tommymcm
left a comment
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.
Pretty close, I think there might be a bug in the tests and 1 formatting nit
tommymcm
left a comment
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
bcardosolopes
left a comment
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 after applying comments from @xlauko
This reverts commit 4e092b2.
|
Had to revert because it broke test on Linux: |
Fixes #1849