C++: Fix join order in bbSuccessorEntryReaches - #8882
Conversation
jketema
left a comment
There was a problem hiding this comment.
LGTM assuming DCA results are ok.
The only thing I'm a bit puzzled about: where is UninitialisedLocalReachability coming from that I see in the tuple counts?
Yeah, sorry. I should've been more clear. This join appears when running the The |
I don't know where else this is used, but did you look at the tuple counts in those contexts? |
Fair point. I didn't actually investigate the tuple counts for the other uses of this class. With that said, I doubt joining on the variable is ever a good idea. But let's wait and see what DCA says! 🤞 |
|
I think DCA is okay, but there's some slowdown on two projects that I'd like to check up on. |
This PR does two things:
SemanticStackVariable(which was giving horrible tuple counts):nomagictobbSuccessorEntryReaches.The added magic wasn't actually bad, but it shouldn't be necessary to evaluate the predicate. And there's no reason to wait for some bad magic to be pushed into the predicate before adding a
nomagic.Here are the tuple counts before these changes:
And after: