Redundant write barriers around byref-like structs #111575
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
in-pr
There is an active PR which will close this issue when it is merged
Milestone
Reported in #111127 (comment) by @NinoFloris
Currently all three M0, M1, M2 emit redundant write barriers, although, they're not needed due to "ByRefLike" modifier on Test struct (meaning it can live only on stack):
Expected:
no
CORINFO_HELP_CHECKED_ASSIGN_REF
calls in the codegen.The text was updated successfully, but these errors were encountered: