projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dd126c
)
Minor code simplification.
author
Dan Gohman
<gohman@apple.com>
Tue, 10 Nov 2009 01:36:20 +0000
(
01:36
+0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 10 Nov 2009 01:36:20 +0000
(
01:36
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86641
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/BranchFolding.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/BranchFolding.cpp
b/lib/CodeGen/BranchFolding.cpp
index baea9642d4fdf9128ff7a5baadc35ed57a7cd6d5..b094eefb302b634498a74333698249c90dd25961 100644
(file)
--- a/
lib/CodeGen/BranchFolding.cpp
+++ b/
lib/CodeGen/BranchFolding.cpp
@@
-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.