forked from OSchip/llvm-project
parent
0d401124d1
commit
48079d4bf5
|
@ -600,7 +600,7 @@ bool BranchFolder::TryMergeBlocks(MachineBasicBlock *SuccBB,
|
|||
|
||||
// Walk through equivalence sets looking for actual exact matches.
|
||||
while (MergePotentials.size() > 1) {
|
||||
unsigned CurHash = prior(MergePotentials.end())->first;
|
||||
unsigned CurHash = MergePotentials.back().first;
|
||||
|
||||
// Build SameTails, identifying the set of blocks with this hash code
|
||||
// and with the maximum number of instructions in common.
|
||||
|
|
Loading…
Reference in New Issue