Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

C++: Implement getAdditionalFlowIntoCallNodeTerm #12429

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

MathiasVP
Copy link
Contributor

@MathiasVP MathiasVP commented Mar 7, 2023

This PR implements the predicate added to the shared dataflow library in #12236. The goal is to identify which switch statements read from/write a given parameter in many branches, which we've seen can cause a large number of access paths to be generated for certain projects.

I've started two DCA runs: One "normal" DCA run that compares the base branch with this PR (to inspect any performance or result changes), and one that just runs on this branch (since the problematic project will probably still OOM on the base branch, thus not even getting to running on this PR's branch).

@MathiasVP MathiasVP requested a review from a team as a code owner March 7, 2023 13:48
@github-actions github-actions bot added the C++ label Mar 7, 2023
@MathiasVP MathiasVP added the no-change-note-required This PR does not need a change note label Mar 7, 2023
@MathiasVP
Copy link
Contributor Author

DCA looks good: The mono run managed to analyze the problematic project without OOM'ing, and the other run shows no result changes 🎉.

Copy link
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

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

One comment and one question.

Copy link
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

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

LGTM if DCA is happy. I'm not sure if the response to my review comment requires a re-run?

@MathiasVP
Copy link
Contributor Author

LGTM if DCA is happy. I'm not sure if the response to my review comment requires a re-run?

Hm, good point. I'll run it just to be safe

@MathiasVP
Copy link
Contributor Author

DCA confirms that the refactorings in 5a6b94e didn't cause any regressions. The CI failures are unrelated to this, so I'll 🤠 merge this!

@MathiasVP MathiasVP merged commit c84d88f into github:mathiasvp/replace-ast-with-ir-use-usedataflow Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.