summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SlotIndexes.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-06-23 13:16:03 +0000
committerFangrui Song <maskray@google.com>2019-06-23 13:16:03 +0000
commit6620e3b2f6937c6b862407043aa49a1efb6f19df (patch)
tree7de1eed31337b98dc9c9d6b66ef8b83f4a2dd699 /llvm/lib/CodeGen/SlotIndexes.cpp
parent6ddc7912b0ec9e3b9c136a052dfe9530db74d3da (diff)
downloadbcm5719-llvm-6620e3b2f6937c6b862407043aa49a1efb6f19df.tar.gz
bcm5719-llvm-6620e3b2f6937c6b862407043aa49a1efb6f19df.zip
SlotIndexes: simplify IdxMBBPair operators
llvm-svn: 364152
Diffstat (limited to 'llvm/lib/CodeGen/SlotIndexes.cpp')
-rw-r--r--llvm/lib/CodeGen/SlotIndexes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SlotIndexes.cpp b/llvm/lib/CodeGen/SlotIndexes.cpp
index a55e74c4c06..ce00fa9a136 100644
--- a/llvm/lib/CodeGen/SlotIndexes.cpp
+++ b/llvm/lib/CodeGen/SlotIndexes.cpp
@@ -94,7 +94,7 @@ bool SlotIndexes::runOnMachineFunction(MachineFunction &fn) {
}
// Sort the Idx2MBBMap
- llvm::sort(idx2MBBMap, Idx2MBBCompare());
+ llvm::sort(idx2MBBMap, less_first());
LLVM_DEBUG(mf->print(dbgs(), this));
OpenPOWER on IntegriCloud