diff options
author | Wes Haggard <weshaggard@users.noreply.github.com> | 2018-03-30 11:59:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-30 11:59:39 -0700 |
commit | f5720eea7e7ada0bc0f6ba05a3825c73871a8b81 (patch) | |
tree | a43d3016ce6dbe8024d171bd4dd9b9a90c3684c9 /src/jit/lsraarmarch.cpp | |
parent | d845ef1c33f0283d18541714ad9469a7b1a559e6 (diff) | |
parent | 3365ac5efe5d6a7ea965ed1d17a5dd5474a033a5 (diff) | |
download | coreclr-f5720eea7e7ada0bc0f6ba05a3825c73871a8b81.tar.gz coreclr-f5720eea7e7ada0bc0f6ba05a3825c73871a8b81.tar.bz2 coreclr-f5720eea7e7ada0bc0f6ba05a3825c73871a8b81.zip |
Merge pull request #17347 from weshaggard/MergeMaster21
[release/2.1] Merge master to release/2.1
Diffstat (limited to 'src/jit/lsraarmarch.cpp')
-rw-r--r-- | src/jit/lsraarmarch.cpp | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/jit/lsraarmarch.cpp b/src/jit/lsraarmarch.cpp index 72acf829d1..22c96f919a 100644 --- a/src/jit/lsraarmarch.cpp +++ b/src/jit/lsraarmarch.cpp @@ -112,59 +112,6 @@ void LinearScan::BuildIndir(GenTreeIndir* indirTree) } //------------------------------------------------------------------------ -// BuildShiftRotate: Set the NodeInfo for a shift or rotate. -// -// Arguments: -// tree - The node of interest -// -// Return Value: -// None. -// -int LinearScan::BuildShiftRotate(GenTree* tree) -{ - TreeNodeInfo* info = currentNodeInfo; - GenTree* source = tree->gtOp.gtOp1; - GenTree* shiftBy = tree->gtOp.gtOp2; - assert(info->dstCount == 1); - if (!shiftBy->isContained()) - { - appendLocationInfoToList(shiftBy); - info->srcCount = 1; - } - -#ifdef _TARGET_ARM_ - - // The first operand of a GT_LSH_HI and GT_RSH_LO oper is a GT_LONG so that - // we can have a three operand form. Increment the srcCount. - if (tree->OperGet() == GT_LSH_HI || tree->OperGet() == GT_RSH_LO) - { - assert((source->OperGet() == GT_LONG) && source->isContained()); - info->srcCount += 2; - - LocationInfoListNode* sourceLoInfo = getLocationInfo(source->gtOp.gtOp1); - useList.Append(sourceLoInfo); - LocationInfoListNode* sourceHiInfo = getLocationInfo(source->gtOp.gtOp2); - useList.Append(sourceHiInfo); - if (tree->OperGet() == GT_LSH_HI) - { - sourceLoInfo->info.isDelayFree = true; - } - else - { - sourceHiInfo->info.isDelayFree = true; - } - info->hasDelayFreeSrc = true; - } - else -#endif // _TARGET_ARM_ - { - appendLocationInfoToList(source); - info->srcCount++; - } - return info->srcCount; -} - -//------------------------------------------------------------------------ // BuildCall: Set the NodeInfo for a call. // // Arguments: |