Repository navigation
JIT: Indicate usage of TYP_LONG for x86 in async transformation - #121746
Merged
Merged
Conversation
Contributor
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
jakobbotsch
marked this pull request as ready for review
November 18, 2025 17:05
Member
Author
|
PTAL @dotnet/jit-contrib |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes two issues related to async method transformations in the JIT:
- Corrects the display name for the async continuation parameter from "tmp-1" to "AsyncCont"
- Ensures the JIT backend is aware of TYP_LONG usage introduced during async transformations for proper decomposition on x86
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/coreclr/jit/gentree.cpp | Moves the AsyncCont name check to the correct location where compMap2ILvarNum returns UNKNOWN_ILNUM |
| src/coreclr/jit/async.cpp | Sets compLongUsed flag when TYP_LONG variables are encountered during continuation layout |
AndyAyersMS
approved these changes
Nov 18, 2025
kg
approved these changes
Nov 19, 2025
Member
Author
|
/ba-g macOS brownout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also fix the name for the async continuation parameter; it was showing up as "tmp-1" since a recent change to
compMap2ILvarNum.Fix #120341