Fix PR25838.
authorCong Hou <congh@google.com>
Thu, 17 Dec 2015 01:29:08 +0000 (01:29 +0000)
committerCong Hou <congh@google.com>
Thu, 17 Dec 2015 01:29:08 +0000 (01:29 +0000)
commit51a9d17bfc9cf9b2f457bdb6df58811f999a0c66
tree7bc756de92f730ffb88d06d32da5ae946e37164f
parent88a450e9e9ab369dd93b5426b038ddaba612cba1
Fix PR25838.

This is a quick fix to PR25838. The issue comes from the restriction that we
cannot normalize probabilities containing both known and unknown ones. A patch
that removes this restriction is under the review now:

http://reviews.llvm.org/D15548

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255867 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IfConversion.cpp
test/CodeGen/ARM/pr25838.ll [new file with mode: 0644]