Skip to content

Commit fb0c4ca

Browse files
committed
bug fix
1 parent c72147f commit fb0c4ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/jit/lsra.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9802,7 +9802,7 @@ void LinearScan::resolveEdge(BasicBlock* fromBlock,
98029802
// Do we have a free targetReg?
98039803
if (fromReg == sourceReg)
98049804
{
9805-
if (source[fromReg] != REG_NA && (targetRegsFromStack.IsRegNumInMask(fromReg)))
9805+
if (source[fromReg] != REG_NA && !targetRegsFromStack.IsRegNumInMask(fromReg))
98069806
{
98079807
targetRegsReady |= fromReg;
98089808
#ifdef TARGET_ARM

0 commit comments

Comments
 (0)