diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-08-14 01:56:58 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-08-14 01:56:58 +0000 |
| commit | 74c69f7588ba16b4d20837e34e492316d6163ebe (patch) | |
| tree | da6cd4070156f8a30c8ea93808c7d8a5df2b7d34 /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | |
| parent | dbe8497d4582de08d6e35789d3086274f96498c7 (diff) | |
| download | bcm5719-llvm-74c69f7588ba16b4d20837e34e492316d6163ebe.tar.gz bcm5719-llvm-74c69f7588ba16b4d20837e34e492316d6163ebe.zip | |
Kill info update bugs.
llvm-svn: 41064
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp index fef2fde32ae..fc88ffed501 100644 --- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp @@ -559,8 +559,8 @@ bool SimpleRegisterCoalescing::SimpleJoin(LiveInterval &LHS, LiveInterval &RHS) // Okay, the final step is to loop over the RHS live intervals, adding them to // the LHS. - LHS.MergeRangesInAsValue(RHS, LHSValNo); LHS.addKillsForValNum(LHSValNo, VNI.kills); + LHS.MergeRangesInAsValue(RHS, LHSValNo); LHS.weight += RHS.weight; if (RHS.preference && !LHS.preference) LHS.preference = RHS.preference; |

