aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2022-12-19 18:09:30 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2022-12-19 18:10:18 +0300
commit8c3a8359906cab3fe916e71b163f5869580c3173 (patch)
tree5fdc87bb2e48d6f9000aad341c9747fc0d3e4967 /llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
parentd73cfc6710c28f366913c51a6e2d66f303410a2e (diff)
downloadllvm-8c3a8359906cab3fe916e71b163f5869580c3173.zip
llvm-8c3a8359906cab3fe916e71b163f5869580c3173.tar.gz
llvm-8c3a8359906cab3fe916e71b163f5869580c3173.tar.bz2
[NFC][llvm-exegesis] Try to fix GCC7 build
https://lab.llvm.org/staging/#/builders/235/builds/1121
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp')
-rw-r--r--llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
index c0e4c61..673221e 100644
--- a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
+++ b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
@@ -367,7 +367,7 @@ InstructionBenchmark::readYamls(const LLVMState &State,
return make_error<Failure>(Context.getLastError());
Yin.nextDocument();
}
- return Benchmarks;
+ return std::move(Benchmarks);
}
Error InstructionBenchmark::writeYamlTo(const LLVMState &State,