Skip to content

Commit

Permalink
Remove ldsfld quirk
Browse files Browse the repository at this point in the history
Alternative to spilling changes in dotnet#108579
  • Loading branch information
MichalPetryka authored Oct 7, 2024
1 parent f944a77 commit dab4f71
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/coreclr/jit/importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9420,11 +9420,6 @@ void Compiler::impImportBlockCode(BasicBlock* block)
lclTyp = TypeHandleToVarType(fieldInfo.fieldType, clsHnd, &layout);
op1 = (lclTyp == TYP_STRUCT) ? gtNewBlkIndir(layout, op1, indirFlags)
: gtNewIndir(lclTyp, op1, indirFlags);
if ((indirFlags & GTF_IND_INVARIANT) != 0)
{
// TODO-ASG: delete this zero-diff quirk.
op1->gtFlags |= GTF_GLOB_REF;
}

impAnnotateFieldIndir(op1->AsIndir());
}
Expand Down

0 comments on commit dab4f71

Please sign in to comment.