mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
Revert functional change. This broke a bunch of tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95921 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
11eafa8bed
commit
9637dd50f4
@ -1148,7 +1148,7 @@ SimpleRegisterCoalescing::isWinToJoinCrossClass(unsigned LargeReg,
|
||||
LiveInterval &SmallInt = li_->getInterval(SmallReg);
|
||||
unsigned LargeSize = li_->getApproximateInstructionCount(LargeInt);
|
||||
unsigned SmallSize = li_->getApproximateInstructionCount(SmallInt);
|
||||
if (LargeSize > Threshold) {
|
||||
if (SmallSize > Threshold || LargeSize > Threshold) {
|
||||
unsigned SmallUses = std::distance(mri_->use_nodbg_begin(SmallReg),
|
||||
mri_->use_nodbg_end());
|
||||
unsigned LargeUses = std::distance(mri_->use_nodbg_begin(LargeReg),
|
||||
|
Loading…
x
Reference in New Issue
Block a user