aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SplitKit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
-rw-r--r--llvm/lib/CodeGen/SplitKit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp
index d6c0a78..b671e51 100644
--- a/llvm/lib/CodeGen/SplitKit.cpp
+++ b/llvm/lib/CodeGen/SplitKit.cpp
@@ -184,8 +184,7 @@ void SplitAnalysis::analyzeUses() {
// Remove duplicates, keeping the smaller slot for each instruction.
// That is what we want for early clobbers.
- UseSlots.erase(std::unique(UseSlots.begin(), UseSlots.end(),
- SlotIndex::isSameInstr),
+ UseSlots.erase(llvm::unique(UseSlots, SlotIndex::isSameInstr),
UseSlots.end());
// Compute per-live block info.