Skip to content
Commit f1cb16e4 authored by Manman Ren's avatar Manman Ren
Browse files

PGO branch weight: keep halving the weights until they can fit into

uint32.

When folding branches to common destination, the updated branch weights
can exceed uint32 by more than factor of 2. We should keep halving the
weights until they can fit into uint32.

llvm-svn: 200262
parent c67e7976
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment