diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2018-07-03 09:46:04 -0700 |
---|---|---|
committer | Carol Eidt <carol.eidt@microsoft.com> | 2018-07-03 09:46:04 -0700 |
commit | 5d01d2d16f4a4c9592002d7c76c19f01f2529140 (patch) | |
tree | 2569e1d87f80dc7c6e758814075daa55a3e26eb7 /src/jit/lsra.cpp | |
parent | 7222c56c42be22ecb0b61ce2d49e3e916ecdadb6 (diff) | |
download | coreclr-5d01d2d16f4a4c9592002d7c76c19f01f2529140.tar.gz coreclr-5d01d2d16f4a4c9592002d7c76c19f01f2529140.tar.bz2 coreclr-5d01d2d16f4a4c9592002d7c76c19f01f2529140.zip |
Remove Interval::isMultiReg
This is no longer used after #16517
Diffstat (limited to 'src/jit/lsra.cpp')
-rw-r--r-- | src/jit/lsra.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index 01192b26e3..654b3406e3 100644 --- a/src/jit/lsra.cpp +++ b/src/jit/lsra.cpp @@ -2684,8 +2684,7 @@ regNumber LinearScan::tryAllocateFreeReg(Interval* currentInterval, RefPosition* { // Don't use the relatedInterval for preferencing if its next reference is not a new definition, // or if it is only related because they are multi-reg targets of the same node. - if (!RefTypeIsDef(nextRelatedRefPosition->refType) || - isMultiRegRelated(nextRelatedRefPosition, refPosition->nodeLocation)) + if (!RefTypeIsDef(nextRelatedRefPosition->refType)) { relatedInterval = nullptr; } @@ -4919,18 +4918,6 @@ bool LinearScan::registerIsFree(regNumber regNum, RegisterType regType) return isFree; } -// isMultiRegRelated: is this RefPosition defining part of a multi-reg value -// at the given location? -// -bool LinearScan::isMultiRegRelated(RefPosition* refPosition, LsraLocation location) -{ -#ifdef FEATURE_MULTIREG_ARGS_OR_RET - return ((refPosition->nodeLocation == location) && refPosition->getInterval()->isMultiReg); -#else - return false; -#endif -} - //------------------------------------------------------------------------ // LinearScan::freeRegister: Make a register available for use // @@ -8596,10 +8583,6 @@ void Interval::dump() { printf(" (constant)"); } - if (isMultiReg) - { - printf(" (multireg)"); - } printf(" RefPositions {"); for (RefPosition* refPosition = this->firstRefPosition; refPosition != nullptr; |