mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Bug fix. ~1U marks the val# dead.
llvm-svn: 40975
This commit is contained in:
parent
21c0eac378
commit
0293fe7483
@ -645,7 +645,7 @@ bool SimpleRegisterCoalescing::JoinIntervals(LiveInterval &LHS, LiveInterval &RH
|
||||
// Otherwise, use the specified value #.
|
||||
LHSValNoAssignments[VN] = RHSValID;
|
||||
if (VN != (unsigned)RHSValID)
|
||||
ValueNumberInfo[VN].def = RHSValNoInfo.def;
|
||||
ValueNumberInfo[VN]->def = ~1U; // Now this val# is dead.
|
||||
else
|
||||
ValueNumberInfo[VN] = RHSValNoInfo;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user