| commit | f1cb16e481a60dbac58affcf8c8e423dac3937cb | [log] [tgz] |
|---|---|---|
| author | Manman Ren <manman.ren@gmail.com> | Mon Jan 27 23:39:03 2014 +0000 |
| committer | Manman Ren <manman.ren@gmail.com> | Mon Jan 27 23:39:03 2014 +0000 |
| tree | 08a9ce4e0a12bbfc194996f31a44b4b6a445ba46 | |
| parent | c67e7976b3c71f718cb08364a65377d3f15c2499 [diff] |
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