Skip to content

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 latency 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
latency Latency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants