1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix a bug in a previous checkin of mine, correcting

Regression.CodeGen.Generic.2004-04-09-SameValueCoalescing.llx and the
code size problem.

This bug prevented us from doing most register coallesces.

llvm-svn: 16031
This commit is contained in:
Chris Lattner 2004-08-24 17:48:29 +00:00
parent 15f8a54365
commit 66d61f3a72

View File

@ -661,7 +661,7 @@ bool LiveIntervals::differingRegisterClasses(unsigned RegA,
if (MRegisterInfo::isVirtualRegister(RegB))
return RegClass != mf_->getSSARegMap()->getRegClass(RegB);
else
return RegClass->contains(RegB);
return !RegClass->contains(RegB);
}
bool LiveIntervals::overlapsAliases(const LiveInterval *LHS,