{"push_id":655416808,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"38ca1750240132d83474feacb8d133af67dc2b5f","before":"ad4196746549b4b7d734404457bf466ab10a23cb","commits":[{"sha":"38ca1750240132d83474feacb8d133af67dc2b5f","author":{"email":"1f7432263446ac4f226b3f79c32d2744a3aa227f@google.com","name":"Diego Novillo"},"message":"Allow 0-weight branches in BranchProbabilityInfo.\n\nSummary:\nWhen computing branch weights in BPI, we used to disallow branches with\nweight 0. This is a minor nuisance, because a branch with weight 0 is\ndifferent to \"don't have information\". In the context of\ninstrumentation, it may mean \"never executed\", in the context of\nsampling, it means \"never or seldom executed\".\n\nIn allowing 0 weight branches, I ran into issues with the switch\nexpansion code in selection DAG. It is currently hardwired to not handle\nbranches with weight 0. To maintain the current behaviour, I changed it\nto use 1 when it finds 0, but perhaps the algorithm needs changes to\ntolerate branches with weight zero.\n\nReviewers: hansw\n\nSubscribers: llvm-commits\n\nDifferential Revision: http://reviews.llvm.org/D9533","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project/commits/38ca1750240132d83474feacb8d133af67dc2b5f"}]}