Skip to content

Commit a95ebd1

Browse files
committed
Revert accidental change from right before pushing
1 parent 5a99593 commit a95ebd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Utils/LoopUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ bool llvm::setBranchProbability(BranchInst *B, double P, bool ForFirstTarget) {
10081008
// Sum should be some large number so that the weights accurately encode P,
10091009
// but it should not be so large that some branch weights will print as
10101010
// negative in LLVM IR as that makes LLVM tests harder to maintain.
1011-
const uint64_t Sum = 1000000000;
1011+
const uint64_t Sum = 100000000;
10121012
uint64_t Weight0 = round(P * Sum);
10131013
uint64_t Weight1 = round((1 - P) * Sum);
10141014
if (!ForFirstTarget)

0 commit comments

Comments
 (0)