Allow known and unknown probabilities coexist in MBB's successor list.
authorCong Hou <congh@google.com>
Tue, 1 Dec 2015 11:05:39 +0000 (11:05 +0000)
committerCong Hou <congh@google.com>
Tue, 1 Dec 2015 11:05:39 +0000 (11:05 +0000)
commit1b91dc22354928116e2af525b10c86a1c645b8a0
tree230428ec2aaa4634e64310323bcde33fe20a0fc4
parentce8e2a0d91724b07d3a262c6005e5705a3b7837e
Allow known and unknown probabilities coexist in MBB's successor list.

Previously it is not allowed for each MBB to have successors with both known and
unknown probabilities. However, this may be too strict as at this stage we could
not always guarantee that. It is better to remove this restriction now, and I
will work on validating MBB's successors' probabilities first (for example,
check if the sum is approximate one).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254402 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBasicBlock.cpp