summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
diff options
context:
space:
mode:
authorCong Hou <congh@google.com>2015-12-17 22:27:07 +0000
committerCong Hou <congh@google.com>2015-12-17 22:27:07 +0000
commit7308f42d91c42235be963d16cd27b18b62175ce0 (patch)
treeac64fa0d0f0095aaad6cbfced260b0ae3b2a7c6c /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
parent8e9ba042a68ed50d507c7deec249072508bab769 (diff)
downloadbcm5719-llvm-7308f42d91c42235be963d16cd27b18b62175ce0.tar.gz
bcm5719-llvm-7308f42d91c42235be963d16cd27b18b62175ce0.zip
[BranchProbability] Remove the restriction that known and unknown probabilities cannot coexist when being normalized.
The current BranchProbability::normalizeProbabilities() forbids known and unknown probabilities to coexist in the list. This was once used to help capture probability exceptions but has caused some reported build failures (https://llvm.org/bugs/show_bug.cgi?id=25838). This patch removes this restriction by evenly distributing the complement of the sum of all known probabilities to unknown ones. We could still treat this as an abnormal behavior, but it is better to emit warnings in our future profile validator. Differential revision: http://reviews.llvm.org/D15548 llvm-svn: 255934
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud