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:
1f48a55
)
BranchFolding: MergePotentialsElt has a total order, just call array_pod_sort.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Fri, 13 Mar 2015 21:17:02 +0000
(21:17 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Fri, 13 Mar 2015 21:17:02 +0000
(21:17 +0000)
No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232217
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 a2e981680c68191b6b467d7e48eca821e8067a5d..abe7ca1610ca0fe208c80f162a52d9aa0bdadeef 100644
(file)
--- a/
lib/CodeGen/BranchFolding.cpp
+++ b/
lib/CodeGen/BranchFolding.cpp
@@
-818,7
+818,7
@@
bool BranchFolder::TryTailMergeBlocks(MachineBasicBlock *SuccBB,
// Sort by hash value so that blocks with identical end sequences sort
// together.
-
std::stable
_sort(MergePotentials.begin(), MergePotentials.end());
+
array_pod
_sort(MergePotentials.begin(), MergePotentials.end());
// Walk through equivalence sets looking for actual exact matches.
while (MergePotentials.size() > 1) {