Skip to content

[release/5.0] Fix tailcall regression with compiled F# - #41331

Merged
jkotas merged 2 commits into
release/5.0from
backport/pr-41206-to-release/5.0
Aug 25, 2020
Merged

[release/5.0] Fix tailcall regression with compiled F##41331
jkotas merged 2 commits into
release/5.0from
backport/pr-41206-to-release/5.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Aug 25, 2020

Copy link
Copy Markdown
Contributor

Backport of #41206 to release/5.0

/cc @jkotas

Customer Impact

Regression from 3.0. FSharp programs may hit stack overflow due to this bug.

Testing

Targeted test + jitstress and libraries jitstress runs

Risk

jkotasand others added 2 commits August 25, 2020 14:34
This change skips instantiating stubs for direct tailcalls and instead passes the inst argument directly to the target method.
Fixes#40864
@Dotnet-GitSync-BotDotnet-GitSync-Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 25, 2020

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Please get a CR.

@jeffschwMSFT

Copy link
Copy Markdown
Member

Approved, please merge.

@jkotas

Copy link
Copy Markdown
Member

Test failure is known issue #40916

@jkotas
jkotas merged commit 99efd7e into release/5.0Aug 25, 2020
@jkotas
jkotas deleted the backport/pr-41206-to-release/5.0 branch August 25, 2020 22:35
@ghostghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@jeffschwMSFT@jkotas@AndyAyersMS@Dotnet-GitSync-Bot@jakobbotsch