Remove an incorrect assert during branch weight propagation.
authorAndrew Trick <atrick@apple.com>
Sat, 8 Sep 2012 00:07:26 +0000 (00:07 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 8 Sep 2012 00:07:26 +0000 (00:07 +0000)
commita34434184915cf869e2daf26a9d15483b7981aaa
tree5f254a0c6c5e3ccda0643b0fb1a555592e5c1709
parent3adf3b0ac0927ee95d59e3c98599254072fb26f5
Remove an incorrect assert during branch weight propagation.

Patch and test case by Alastair Murray!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163437 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/preserve-branchweights-partial.ll [new file with mode: 0644]