Skip to content

Commit

Permalink
Updating varDsc home after spill and refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianBohe committed Jan 12, 2023
1 parent 99a5bbb commit 9460900
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/coreclr/jit/codegenarm64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2928,7 +2928,6 @@ void CodeGen::genCodeForStoreLclVar(GenTreeLclVar* lclNode)
if (targetReg != REG_NA)
{
emit->emitIns_R_I(INS_movi, emitActualTypeSize(targetType), targetReg, 0x00, INS_OPTS_16B);
genProduceReg(lclNode);
}
else
{
Expand All @@ -2941,8 +2940,8 @@ void CodeGen::genCodeForStoreLclVar(GenTreeLclVar* lclNode)
assert(targetType == TYP_SIMD8);
GetEmitter()->emitIns_S_R(INS_str, EA_8BYTE, REG_ZR, varNum, 0);
}
genUpdateLife(lclNode);
}
genUpdateLifeStore(lclNode, targetReg, varDsc);
return;
}
if (zeroInit)
Expand Down

0 comments on commit 9460900

Please sign in to comment.