[llvm] 8c3a835 - [NFC][llvm-exegesis] Try to fix GCC7 build
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 07:10:28 PST 2022
Author: Roman Lebedev
Date: 2022-12-19T18:10:18+03:00
New Revision: 8c3a8359906cab3fe916e71b163f5869580c3173
URL: https://github.com/llvm/llvm-project/commit/8c3a8359906cab3fe916e71b163f5869580c3173
DIFF: https://github.com/llvm/llvm-project/commit/8c3a8359906cab3fe916e71b163f5869580c3173.diff
LOG: [NFC][llvm-exegesis] Try to fix GCC7 build
https://lab.llvm.org/staging/#/builders/235/builds/1121
Added:
Modified:
llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
index c0e4c61c9840..673221e5d5a0 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,
More information about the llvm-commits
mailing list