diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-01 02:21:31 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-01 02:21:31 +0000 |
commit | 676cf8cb1d613d626f826a45b44658ae35f58c7c (patch) | |
tree | 83c5b9699dd48215ed0005c069ed183c9a7298c7 /lib | |
parent | 01e74a2aab64c5901a62d9ba9e1c263759929390 (diff) | |
download | external_llvm-676cf8cb1d613d626f826a45b44658ae35f58c7c.zip external_llvm-676cf8cb1d613d626f826a45b44658ae35f58c7c.tar.gz external_llvm-676cf8cb1d613d626f826a45b44658ae35f58c7c.tar.bz2 |
Missed one silly assert :-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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); |