diff options
author | Fangrui Song <maskray@google.com> | 2019-06-23 13:16:03 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-06-23 13:16:03 +0000 |
commit | 6620e3b2f6937c6b862407043aa49a1efb6f19df (patch) | |
tree | 7de1eed31337b98dc9c9d6b66ef8b83f4a2dd699 /llvm/lib/CodeGen/SlotIndexes.cpp | |
parent | 6ddc7912b0ec9e3b9c136a052dfe9530db74d3da (diff) | |
download | bcm5719-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.cpp | 2 |
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)); |