Partial revert of 132882.
commitb8018d8f885f29df3745fa5596bbbfc4c2fa53d2
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Jun 2011 18:12:31 +0000 (14 18:12 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Jun 2011 18:12:31 +0000 (14 18:12 +0000)
tree13b31897c4eceb9f9e954c14a9db5b60f259e257
parenta6eb2562b62fc293295f2fede2608753563e7005
Partial revert of 132882.
Dan noted that this would work on the case shown on the commit message. I think
the case that was failing was a bb ending with a redundant conditional jump:

...
jne foo

foo:
...

I was unable to find any such case in the tests or in a debug build of clang,
so I will revert this part of the patch and watch the bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133004 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp