Radar 8803471: Fix expansion of ARM BCCi64 pseudo instructions.
authorBob Wilson <bob.wilson@apple.com>
Thu, 23 Dec 2010 22:45:49 +0000 (22:45 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 23 Dec 2010 22:45:49 +0000 (22:45 +0000)
commit3c904694fc769ce9e12455b43b94144a99325110
tree21edd5b64aadb8148e7ac771795168b3c6dc67e8
parentaf62935bce59d1086327c0a1767ff3c269e87425
Radar 8803471: Fix expansion of ARM BCCi64 pseudo instructions.
If the basic block containing the BCCi64 (or BCCZi64) instruction ends with
an unconditional branch, that branch needs to be deleted before appending
the expansion of the BCCi64 to the end of the block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122521 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/fpcmp-opt.ll