| commit | 5b8fae5edd57b6a9ca8a282b508bee0537bc7957 | [log] [tgz] |
|---|---|---|
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Mon Mar 06 19:12:42 2017 +0000 |
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Mon Mar 06 19:12:42 2017 +0000 |
| tree | 52ef7c2687e012326ee1f1638563ca19dce805a0 | |
| parent | a96eac62d6b4180969876f4be0340b7f03b0b4cd [diff] |
[IfConversion] Only renormalize probabilities if branches are analyzable If a block has non-analyzable branches, the listed successors don't need to add up to one. For example, if a block has a conditional tail call, that tail call will not have a corresponding successor in the successor list, but will still be a possible branch. Differential Revision: https://reviews.llvm.org/D30556 llvm-svn: 297054