To ensure that we have more accurate line information for a block
authorEric Christopher <echristo@apple.com>
Tue, 10 Apr 2012 18:18:10 +0000 (18:18 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 10 Apr 2012 18:18:10 +0000 (18:18 +0000)
commit18112d83e7d54597bcd5870fb411c7997e02bc1e
tree0792eea6377628b357d274eaf1e2bf8eb48ca611
parentb79855ee181b0a74507022894b0f753af0041121
To ensure that we have more accurate line information for a block
don't elide the branch instruction if it's the only one in the block,
otherwise it's ok.

PR9796 and rdar://11215207

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154417 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
test/CodeGen/ARM/fast-isel-br-const.ll