commit | 676cf8cb1d613d626f826a45b44658ae35f58c7c | [log] [tgz] |
---|---|---|
author | Alkis Evlogimenos <alkis@evlogimenos.com> | Sun Feb 01 02:21:31 2004 +0000 |
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | Sun Feb 01 02:21:31 2004 +0000 |
tree | 83c5b9699dd48215ed0005c069ed183c9a7298c7 | |
parent | 01e74a2aab64c5901a62d9ba9e1c263759929390 [diff] [blame] |
Missed one silly assert :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11048 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 84ae3ba..f4b2a9b 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -401,7 +401,7 @@ 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);