Skip to content

gf.c: Fix backedge de-duplication bug#58106

Merged
topolarity merged 1 commit intoJuliaLang:masterfrom
topolarity:ct/backedge-dedup-bug
Apr 15, 2025
Merged

gf.c: Fix backedge de-duplication bug#58106
topolarity merged 1 commit intoJuliaLang:masterfrom
topolarity:ct/backedge-dedup-bug

Conversation

@topolarity
Copy link
Copy Markdown
Member

This code was checking for the old edge type (MethodInstance) instead of the new one (CodeInstance), causing duplicate non-invoke edges to accumulate in our backedges.

This code was checking for the old edge type (MethodInstance) instead of
the new one (CodeInstance), causing non-invoke edges to be missed.
@topolarity topolarity requested a review from vtjnash April 14, 2025 14:09
@topolarity topolarity merged commit cf875c1 into JuliaLang:master Apr 15, 2025
7 checks passed
@aviatesk
Copy link
Copy Markdown
Member

Thanks for fixing this!

serenity4 pushed a commit to serenity4/julia that referenced this pull request May 1, 2025
This code was checking for the old edge type (`MethodInstance`) instead
of the new one (`CodeInstance`), causing duplicate non-invoke edges to
accumulate in our `backedges`.
vtjnash pushed a commit that referenced this pull request Jun 5, 2025
This code was checking for the old edge type (`MethodInstance`) instead
of the new one (`CodeInstance`), causing duplicate non-invoke edges to
accumulate in our `backedges`.

(cherry picked from commit cf875c1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants