commit | 958faf3f5ac0804b264860ddb3d71fb3758aa8c4 | [log] [tgz] |
---|---|---|
author | Ruchira Sasanka <sasanka@students.uiuc.edu> | Fri Oct 19 17:21:03 2001 +0000 |
committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | Fri Oct 19 17:21:03 2001 +0000 |
tree | 0fc0fa5512f434d6c92f3ee8426e6b5bb4a18963 | |
parent | ffa6f9ca062d410ff25c8d11907f182d022f274d [diff] [blame] |
Corrected call interference bug git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@916 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp b/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp index c137e67..a4c3aab 100644 --- a/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp +++ b/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
@@ -36,6 +36,11 @@ if(L2->hasSuggestedColor()) L1->setSuggestedColor( L2->getSuggestedColor() ); + + if( L2->isCallInterference() ) + L1->setCallInterference(); + + delete ( L2 ); // delete L2 as it is no longer needed }