summaryrefslogtreecommitdiffstats
path: root/llvm/utils/opt-viewer/opt-diff.py
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2017-03-06 19:12:42 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2017-03-06 19:12:42 +0000
commit5b8fae5edd57b6a9ca8a282b508bee0537bc7957 (patch)
tree52ef7c2687e012326ee1f1638563ca19dce805a0 /llvm/utils/opt-viewer/opt-diff.py
parenta96eac62d6b4180969876f4be0340b7f03b0b4cd (diff)
downloadbcm5719-llvm-5b8fae5edd57b6a9ca8a282b508bee0537bc7957.tar.gz
bcm5719-llvm-5b8fae5edd57b6a9ca8a282b508bee0537bc7957.zip
[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
Diffstat (limited to 'llvm/utils/opt-viewer/opt-diff.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud