diff options
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Clustering.cpp')
| -rw-r--r-- | llvm/tools/llvm-exegesis/lib/Clustering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Clustering.cpp b/llvm/tools/llvm-exegesis/lib/Clustering.cpp index bebb535f431..0c529c4cbd9 100644 --- a/llvm/tools/llvm-exegesis/lib/Clustering.cpp +++ b/llvm/tools/llvm-exegesis/lib/Clustering.cpp @@ -226,10 +226,10 @@ void InstructionBenchmarkClustering::stabilize(unsigned NumOpcodes) { ClusterIdForPoint_[P] = UnstableCluster.Id; }); // Actually append to-be-moved points to the new cluster. - UnstableCluster.PointIndices.insert(UnstableCluster.PointIndices.cend(), + UnstableCluster.PointIndices.insert(UnstableCluster.PointIndices.end(), it, OldCluster.PointIndices.end()); // And finally, remove "to-be-moved" points form the old cluster. - OldCluster.PointIndices.erase(it, OldCluster.PointIndices.cend()); + OldCluster.PointIndices.erase(it, OldCluster.PointIndices.end()); // Now, the old cluster may end up being empty, but let's just keep it // in whatever state it ended up. Purging empty clusters isn't worth it. }; |

