Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #14025 from mikedn/cmp-dead-code
Browse files Browse the repository at this point in the history
Remove dead code from TreeNodeInfoInitCmp
  • Loading branch information
CarolEidt authored Sep 18, 2017
2 parents cd6b92a + e67bd8f commit 3cd2e14
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/jit/lsraxarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2671,20 +2671,6 @@ void LinearScan::TreeNodeInfoInitCmp(GenTreePtr tree)
info->srcCount += GetOperandSourceCount(op1);
}
info->srcCount += GetOperandSourceCount(op2);

#if !defined(_TARGET_64BIT_)
// Long compares will consume GT_LONG nodes, each of which produces two results.
// Thus for each long operand there will be an additional source.
// TODO-X86-CQ: Mark hiOp2 and loOp2 as contained if it is a constant or a memory op.
if (varTypeIsLong(op1Type))
{
info->srcCount++;
}
if (varTypeIsLong(op2Type))
{
info->srcCount++;
}
#endif // !defined(_TARGET_64BIT_)
}

//------------------------------------------------------------------------
Expand Down

0 comments on commit 3cd2e14

Please sign in to comment.