diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2022-12-19 17:14:55 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2022-12-19 17:15:27 +0300 |
commit | e9972a7113edb2bcc1e2b4b2204523c5500681ee (patch) | |
tree | 683988609ee82561fed5654eb7051ca7f6cb7d4b /llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp | |
parent | 1dee7f9571deabe0f4a64efbec61de68d980facb (diff) | |
download | llvm-e9972a7113edb2bcc1e2b4b2204523c5500681ee.zip llvm-e9972a7113edb2bcc1e2b4b2204523c5500681ee.tar.gz llvm-e9972a7113edb2bcc1e2b4b2204523c5500681ee.tar.bz2 |
[NFC][llvm-exegesis] Try to fix GCC7 build
https://lab.llvm.org/staging/#/builders/235/builds/1090
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp')
-rw-r--r-- | llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp | 2 |
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 0478967..c0e4c61 100644 --- a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp +++ b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp @@ -349,7 +349,7 @@ InstructionBenchmark::readYaml(const LLVMState &State, MemoryBufferRef Buffer) { yaml::yamlize(Yin, Benchmark, /*unused*/ true, Context); if (!Context.getLastError().empty()) return make_error<Failure>(Context.getLastError()); - return Benchmark; + return std::move(Benchmark); } Expected<std::vector<InstructionBenchmark>> |