[BPI] Fix two potential divide-by-zero operations that are introduced in r256263.
authorCong Hou <congh@google.com>
Tue, 22 Dec 2015 23:45:55 +0000 (23:45 +0000)
committerCong Hou <congh@google.com>
Tue, 22 Dec 2015 23:45:55 +0000 (23:45 +0000)
commit12ba7a90641e4cc008ef0a97c7aadd87b04c9537
treee67bfd75440b0f6096f141bdc6aacd5ae1116e6a
parent80506186e9f46b746ebe889304286d8755ecaa1d
[BPI] Fix two potential divide-by-zero operations that are introduced in r256263.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256303 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BranchProbabilityInfo.cpp
lib/Transforms/Scalar/JumpThreading.cpp