-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: Type fat pointer locals precisely, and avoid unnecessary normali…
…zation in inlining (#99806) During call importation, for fat pointer calls we will introduce a local and spill the call to it. This loses track of the small typedness of the value, which can cause inlining to introduce unnecessary normalization casts later. For tailcalls this can cause us to add IR after the call that we do not expect, causing issues like #99798. Fix the problem by enhancing logic in a few places: - Make the local created for these fat pointer calls small typed like regular normalize-on-store locals - Enhance `fgCastNeeded` to take into account the small-typedness of these locals (like `IntegralRange::ForNode`)
- Loading branch information
1 parent
813bb17
commit ad4c7c3
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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