-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Data flow: No magic in returnFlowCallableCand #3142
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
Data flow: No magic in returnFlowCallableCand #3142
Conversation
LGTM. Now that you are implementing field-flow for C++, I'd be interested to see which effect #3110 has. It has a positive performance impact on large Java and C# projects, but performance for C++ was mostly unchanged. |
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. @aschackmull, do you have any objection to merging this?
Adding implementations of
PostUpdateNode
for IR field flow in C++ (#3118) revealed a bad join order inDataFlowImpl::parameterThroughFlowCand
when running onWireshark/Wireshark
:The fix is to avoid inlining
returnFlowCallableCand
. I couldn't reproduce the bad join order in C++ without the changes in #3118, but I figured it'd be good to test the impact of this change onmaster
in isolation.