Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/coreclr/jit/copyprop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,6 @@ int Compiler::optCopyProp_LclVarScore(LclVarDsc* lclVarDsc, LclVarDsc* copyVarDs
score -= 4;
}

if (lclVarDsc->lvDoNotEnregister)
{
score += 4;
}

if (copyVarDsc->lvDoNotEnregister)
{
score -= 4;
}

#ifdef TARGET_X86
// For doubles we also prefer to change parameters into non-parameter local variables
if (lclVarDsc->lvType == TYP_DOUBLE)
Expand Down