-
Notifications
You must be signed in to change notification settings - Fork 1.7k
C++: Handle nonreturning functions in IR generation #12982
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
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.
The code LGTM (assuming the DCA run I started looks good). I have one small comment on the change note. I'd like to hear @jketema's opinion on the PR as well given that he reviewed most of the original PR
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.
Code looks good to me. DCA analysis times look good. The alert changes for git make sense to me. I've a hard time grasping the OpenTTD alert change from just the DCA output.
Looking at this locally now so I can see the dataflow path. |
This also makes sense to me. It's not completely clear to me why this path was missing before, but I don't want to dwell on that for too long unless you tell me otherwise. I do see some functions calls in the function with the sink that would now cause an unreachable instruction to be generated. |
|
Yeah, I don't think we need to dwell too much into it either. |
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!
No description provided.