1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Try to fix buildbot

llvm-svn: 338991
This commit is contained in:
Max Kazantsev 2018-08-06 06:35:21 +00:00
parent 4217d9c40c
commit 44c0d11d0a

View File

@ -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);