commit | bc9409d1af748ce704dc9dacd0d05ed36c909db8 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Mon May 09 17:31:55 2016 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Mon May 09 17:31:55 2016 +0000 |
tree | 98ad383694d01ca5789e5729138234407bb72b14 | |
parent | 51485ffe893cff810ec5bd2053cf986db9f8dcbb [diff] |
[CGP] avoid crashing from weightlessness It's possible that we have branch weights with 0 values. In that case, don't try to create an impossible BranchProbability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268935 91177308-0d34-0410-b5e6-96231b3b80d8