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

Fix invalidations in finish_show_ir #48134

Merged
merged 1 commit into from
Jan 5, 2023
Merged

Fix invalidations in finish_show_ir #48134

merged 1 commit into from
Jan 5, 2023

Conversation

timholy
Copy link
Member

@timholy timholy commented Jan 5, 2023

The whole module is under @nospecialize, so inference needs us to annotate the argtypes.

This should fix invalidation of ~95 MethodInstances in Revise/LoweredCodeUtils
Example trigger of invalidation: convert(::Type{T}, i::LoopVectorization.UpperBoundedInteger) where T<:Number

The whole module is under `@nospecialize`, so inference
needs us to annotate the argtypes.
@KristofferC KristofferC added the backport 1.9 Change should be backported to release-1.9 label Jan 5, 2023
@timholy timholy added the compiler:latency Compiler latency label Jan 5, 2023
@KristofferC KristofferC merged commit 0913cbc into master Jan 5, 2023
@KristofferC KristofferC deleted the teh/show_ir_invs branch January 5, 2023 20:03
KristofferC pushed a commit that referenced this pull request Jan 10, 2023
The whole module is under `@nospecialize`, so inference
needs us to annotate the argtypes.

(cherry picked from commit 0913cbc)
@KristofferC KristofferC mentioned this pull request Jan 10, 2023
41 tasks
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:latency Compiler latency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants