[llvm] r338991 - Try to fix buildbot
Max Kazantsev via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 5 23:35:21 PDT 2018
Author: mkazantsev
Date: Sun Aug 5 23:35:21 2018
New Revision: 338991
URL: http://llvm.org/viewvc/llvm-project?rev=338991&view=rev
Log:
Try to fix buildbot
Modified:
llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp?rev=338991&r1=338990&r2=338991&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp Sun Aug 5 23:35:21 2018
@@ -290,7 +290,7 @@ bool GuardWideningImpl::run() {
if (WidenFrequentBranches && BPI) {
unsigned Threshold = FrequentBranchThreshold;
assert(Threshold > 0 && "Zero threshold makes no sense!");
- LikelyTaken = std::move(BranchProbability(Threshold - 1, Threshold));
+ LikelyTaken = BranchProbability(Threshold - 1, Threshold);
}
for (auto DFI = df_begin(Root), DFE = df_end(Root);
More information about the llvm-commits
mailing list