[llvm-branch-commits] [llvm] 14dc69b - Revert "remove pessimizing moves (reported by gcc 10)"
Andrew Litteken via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Dec 31 13:19:49 PST 2020
Author: Andrew Litteken
Date: 2020-12-31T15:14:11-06:00
New Revision: 14dc69b09218bb580069eb547bb16ab0c43db6d4
URL: https://github.com/llvm/llvm-project/commit/14dc69b09218bb580069eb547bb16ab0c43db6d4
DIFF: https://github.com/llvm/llvm-project/commit/14dc69b09218bb580069eb547bb16ab0c43db6d4.diff
LOG: Revert "remove pessimizing moves (reported by gcc 10)"
Causing multiple different buildbots to fail with similar errors to:
http://lab.llvm.org:8011/#/builders/84/builds/3719/
http://lab.llvm.org:8011/#/builders/21/builds/5863/
This reverts commit a2513cb8655e0aea4baffb4391e946ad3e56d883.
Added:
Modified:
llvm/include/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h
index 63db9d4942bac..1c8b8e0bc922e 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h
@@ -1510,20 +1510,20 @@ class SingleThreadedRPCEndpoint
Args...)) {
detail::ResultTraits<typename Func::ReturnType>::consumeAbandoned(
std::move(Result));
- return Err;
+ return std::move(Err);
}
if (auto Err = this->C.send()) {
detail::ResultTraits<typename Func::ReturnType>::consumeAbandoned(
std::move(Result));
- return Err;
+ return std::move(Err);
}
while (!ReceivedResponse) {
if (auto Err = this->handleOne()) {
detail::ResultTraits<typename Func::ReturnType>::consumeAbandoned(
std::move(Result));
- return Err;
+ return std::move(Err);
}
}
More information about the llvm-branch-commits
mailing list