Skip to content

Commit 0f69114

Browse files
authored
Test
1 parent 067e259 commit 0f69114

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/coreclr/jit/lsra.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2808,12 +2808,13 @@ regNumber LinearScan::allocateReg(Interval* currentInterval,
28082808
bool wasAssigned = regSelector->foundUnassignedReg() && (assignedInterval != nullptr) &&
28092809
(assignedInterval->physReg == foundReg);
28102810
unassignPhysReg(availablePhysRegRecord ARM_ARG(currentInterval->registerType));
2811-
if (regSelector->isMatchingConstant() && !compiler->opts.compDbgCode)
2811+
/*if (regSelector->isMatchingConstant() && !compiler->opts.compDbgCode)
28122812
{
28132813
assert(assignedInterval->isConstant);
28142814
refPosition->treeNode->SetReuseRegVal();
28152815
}
2816-
else if (wasAssigned)
2816+
else*/
2817+
if (wasAssigned)
28172818
{
28182819
updatePreviousInterval(availablePhysRegRecord, assignedInterval, assignedInterval->registerType);
28192820
}

0 commit comments

Comments
 (0)