Skip to content

fix some new-edges issues#56598

Merged
vtjnash merged 2 commits intomasterfrom
jn/56577
Nov 20, 2024
Merged

fix some new-edges issues#56598
vtjnash merged 2 commits intomasterfrom
jn/56577

Conversation

@vtjnash
Copy link
Copy Markdown
Member

@vtjnash vtjnash commented Nov 18, 2024

  • incorrect edge types were being added from inlining: there is minimal dispatch info available, so best not to add that (which was already added earlier) as it results in failures to validate later
  • MethodTable/sig order in edges could confuse the iterator: always put the type before the edge now as that is more consistent
  • edges wasn't converted to a SimpleVector, so they might get ignored later from being in the wrong format
  • edges were not populated for optimize=false, which made debugging them more inconvenient

Fixes #56577

- incorrect edge types were being added from inlining: there is minimal
  dispatch info available, so best not to add that (which was already
  added earlier) as it results in failures to validate later
- MethodTable/sig order in edges could confuse the iterator: always put
  the type before the edge now as that is more consistent
- edges wasn't converted to a SimpleVector, so they might get ignored
  later from being in the wrong format
- edges were not populated for optimize=false, which made debugging them
  more inconvenient

Fixes #56577
Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Nov 20, 2024
@vtjnash vtjnash merged commit d9d1fc5 into master Nov 20, 2024
@vtjnash vtjnash deleted the jn/56577 branch November 20, 2024 20:17
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Nov 20, 2024
serenity4 pushed a commit to serenity4/julia that referenced this pull request May 1, 2025
- incorrect edge types were being added from inlining: there is minimal
dispatch info available, so best not to add that (which was already
added earlier) as it results in failures to validate later
- MethodTable/sig order in edges could confuse the iterator: always put
the type before the edge now as that is more consistent
- edges wasn't converted to a SimpleVector, so they might get ignored
later from being in the wrong format
- edges were not populated for optimize=false, which made debugging them
more inconvenient

Fixes JuliaLang#56577
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:inference Type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

edge creation mistake

3 participants