mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 15:10:33 +00:00
Break as soon as the MustMapCurValNos flag is set - no need to reiterate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149596 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5d4e18bc39
commit
d88710a3e0
@ -381,8 +381,10 @@ void LiveInterval::join(LiveInterval &Other,
|
||||
for (unsigned i = 0; i != NumVals; ++i) {
|
||||
unsigned LHSValID = LHSValNoAssignments[i];
|
||||
if (i != LHSValID ||
|
||||
(NewVNInfo[LHSValID] && NewVNInfo[LHSValID] != getValNumInfo(i)))
|
||||
(NewVNInfo[LHSValID] && NewVNInfo[LHSValID] != getValNumInfo(i))) {
|
||||
MustMapCurValNos = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// If we have to apply a mapping to our base interval assignment, rewrite it
|
||||
|
Loading…
Reference in New Issue
Block a user