Skip to content
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

tidy up compiler implementation #48930

Merged
merged 1 commit into from
Mar 8, 2023
Merged

tidy up compiler implementation #48930

merged 1 commit into from
Mar 8, 2023

Conversation

aviatesk
Copy link
Member

@aviatesk aviatesk commented Mar 7, 2023

  • remove update_valid_age!(edge::InferenceState, sv::InferenceState)
    and replace all the usages with update_valid_age!(sv, edge.valid_worlds):
    this will simplify the incoming AbsIntState interface (see inference: refactoring to allow irinterp to perform :call inference #48913)
  • remove Effects(sv::InferenceState) utility: replace all the usages
    with sv.ipo_effects, which is more explictly saying that we are
    looking at IPO-valid effects
  • normalize more li::MethodInstance to mi::MethodInstance
  • import Core.MethodTable
  • fix up setindex! return values

@aviatesk aviatesk force-pushed the avi/compiler-normalize branch from 6346806 to 5479a40 Compare March 7, 2023 11:28
- remove `update_valid_age!(edge::InferenceState, sv::InferenceState)`
  and replace all the usages with `update_valid_age!(sv, edge.valid_worlds)`:
  this will simplify the incoming `AbsIntState` interface (see #48913)
- remove `Effects(sv::InferenceState)` utility: replace all the usages
  with `sv.ipo_effects`, which is more explictly saying that we are
  looking at IPO-valid effects
- normalize more `li::MethodInstance` to `mi::MethodInstance`
- import `Core.MethodTable`
- fix up `setindex!` return values
@aviatesk aviatesk force-pushed the avi/compiler-normalize branch from 5479a40 to 9b9b99f Compare March 7, 2023 11:38
@aviatesk aviatesk requested a review from vtjnash March 7, 2023 11:38
@aviatesk
Copy link
Member Author

aviatesk commented Mar 7, 2023

@nanosoldier runbenchmarks("inference", vs=":master")

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - no performance regressions were detected. A full report can be found here.

@aviatesk aviatesk merged commit a2912e2 into master Mar 8, 2023
@aviatesk aviatesk deleted the avi/compiler-normalize branch March 8, 2023 02:35
Xnartharax pushed a commit to Xnartharax/julia that referenced this pull request Apr 19, 2023
- remove `update_valid_age!(edge::InferenceState, sv::InferenceState)`
  and replace all the usages with `update_valid_age!(sv, edge.valid_worlds)`:
  this will simplify the incoming `AbsIntState` interface (see JuliaLang#48913)
- remove `Effects(sv::InferenceState)` utility: replace all the usages
  with `sv.ipo_effects`, which is more explictly saying that we are
  looking at IPO-valid effects
- normalize more `li::MethodInstance` to `mi::MethodInstance`
- import `Core.MethodTable`
- fix up `setindex!` return values
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