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

[pull] master from JuliaLang:master #1796

Merged
merged 3 commits into from
Mar 18, 2023
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 18, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

aviatesk and others added 3 commits March 17, 2023 13:48
…rp (#49024)

While the base abstract interpretation routine uses `typeinf_lattice`,
irinterp only needs `optimizer_lattice`. Therefore, there are unnecessary
computations involved in handling `Conditional` in irinterp.
This commit adds `irinterp::Bool` field to `NativeInterpreter`,
indicating if a native interpreter is performing irinterp. This allows
it to switch its lattice to `optimizer_lattice` during irinterp.
Union-typed call edges are a little bit more expensive than other edges,
but we can easily avoid calling these functions when we know they are
not applicable, since this is one of the most common to observe.
)

For OpaqueClosures constructed from inferred code, there is only
one valid age. We were incorrectly setting the primary world age
of the method to `1`, rather than the construction world age of
the opaque closure, causing codegen to fail to emit direct calls
for :invoke'd statements.
@pull pull bot added the ⤵️ pull label Mar 18, 2023
@pull pull bot merged commit 4486bc4 into MLH-Fellowship:master Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants