OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4e63b
)
Fix compilation under pre-c++14 gccs.
author
Clement Courbet
<courbet@google.com>
Tue, 15 May 2018 12:38:06 +0000
(12:38 +0000)
committer
Clement Courbet
<courbet@google.com>
Tue, 15 May 2018 12:38:06 +0000
(12:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332346
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-exegesis/lib/Clustering.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-exegesis/lib/Clustering.cpp
b/tools/llvm-exegesis/lib/Clustering.cpp
index
e0eaee3
..
acd2276
100644
(file)
--- a/
tools/llvm-exegesis/lib/Clustering.cpp
+++ b/
tools/llvm-exegesis/lib/Clustering.cpp
@@
-157,7
+157,7
@@
InstructionBenchmarkClustering::create(
const double Epsilon) {
InstructionBenchmarkClustering Clustering(Points);
if (auto Error = Clustering.validateAndSetup()) {
- return
Error
;
+ return
std::move(Error)
;
}
if (Clustering.ErrorCluster_.PointIndices.size() == Points.size()) {
return Clustering; // Nothing to cluster.