If there are multiple unconditional branches terminating a block, eliminate all
authorEvan Cheng <evan.cheng@apple.com>
Thu, 23 Sep 2010 06:54:40 +0000 (06:54 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 23 Sep 2010 06:54:40 +0000 (06:54 +0000)
commit108c8724663354050dc09bb1262c3e4511adf82f
tree7c11dfc59d78d0bfaeb90244206d9a6979e4f9dd
parentb0cdf8a4466d02c66c84b6b30953709fa9225a30
If there are multiple unconditional branches terminating a block, eliminate all
but the first one. Those will never be executed. There was logic to do this
but it was faulty.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114632 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp