summaryrefslogtreecommitdiff
path: root/src/jit/lsraarmarch.cpp
diff options
context:
space:
mode:
authorCarol Eidt <carol.eidt@microsoft.com>2017-10-16 22:07:15 -0700
committerGitHub <noreply@github.com>2017-10-16 22:07:15 -0700
commit1d43cec000dd6ece495ace8c4b22216871ae5346 (patch)
tree6ee7900ecdf07c96ccee26d86e41719c50e42154 /src/jit/lsraarmarch.cpp
parentfae8cc77819402d143042da5cffeb36dd2c0aecf (diff)
parentad08b96c468620f60cd0bee996289c641d154ec6 (diff)
downloadcoreclr-1d43cec000dd6ece495ace8c4b22216871ae5346.tar.gz
coreclr-1d43cec000dd6ece495ace8c4b22216871ae5346.tar.bz2
coreclr-1d43cec000dd6ece495ace8c4b22216871ae5346.zip
Merge pull request #14350 from CarolEidt/LsraInfoCleanup
Cleanup of Lowering & LsraInfo
Diffstat (limited to 'src/jit/lsraarmarch.cpp')
-rw-r--r--src/jit/lsraarmarch.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/jit/lsraarmarch.cpp b/src/jit/lsraarmarch.cpp
index ffa25a0bb4..b3e9bfa054 100644
--- a/src/jit/lsraarmarch.cpp
+++ b/src/jit/lsraarmarch.cpp
@@ -92,15 +92,8 @@ void LinearScan::TreeNodeInfoInitCmp(GenTreePtr tree)
{
TreeNodeInfo* info = &(tree->gtLsraInfo);
+ assert((info->dstCount == 1) || (tree->TypeGet() == TYP_VOID));
info->srcCount = tree->gtOp.gtOp2->isContained() ? 1 : 2;
- if (info->isNoRegCompare)
- {
- info->dstCount = 0;
- }
- else
- {
- assert((info->dstCount == 1) || tree->OperIs(GT_CMP, GT_TEST_EQ, GT_TEST_NE));
- }
}
void LinearScan::TreeNodeInfoInitGCWriteBarrier(GenTree* tree)