summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-01 02:21:31 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-01 02:21:31 +0000
commit8d4f06ed84c399ffb2011b7bcc6a9bf6fd91f222 (patch)
treea610ac2f8b3057d75319fc00d5f05f39f5d8f88d
parent69deb4d236ee8864f7e019b44ad331785c706d62 (diff)
downloadbcm5719-llvm-8d4f06ed84c399ffb2011b7bcc6a9bf6fd91f222.tar.gz
bcm5719-llvm-8d4f06ed84c399ffb2011b7bcc6a9bf6fd91f222.zip
Missed one silly assert :-)
llvm-svn: 11048
-rw-r--r--llvm/lib/CodeGen/LiveIntervals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervals.cpp b/llvm/lib/CodeGen/LiveIntervals.cpp
index 84ae3badc42..f4b2a9b817a 100644
--- a/llvm/lib/CodeGen/LiveIntervals.cpp
+++ b/llvm/lib/CodeGen/LiveIntervals.cpp
@@ -401,7 +401,7 @@ void LiveIntervals::joinIntervals()
assert(MRegisterInfo::isPhysicalRegister(intA->reg) &&
MRegisterInfo::isVirtualRegister(intB->reg) &&
"A must be physical and B must be virtual");
- assert(intA->reg != intB->reg);
+
if (!intA->overlaps(*intB) &&
!overlapsAliases(*intA, *intB)) {
intA->join(*intB);
OpenPOWER on IntegriCloud