[JIT] Inefficient in-place readonly record struct updates with "with" keyword #111076
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
tenet-performance
Performance related issue
Milestone
Description
Consider the following code snippet:
The function M uses "with" to change the reference
x
in place, this should be equivalent to just setting C = 12 directly. However, on sharplab we get:Configuration
Sharplab / C# / x64 / JIT ASM / Release
The text was updated successfully, but these errors were encountered: