When moving a block for table jumps, make sure the prior block terminator
authorJim Grosbach <grosbach@apple.com>
Tue, 17 Nov 2009 01:21:04 +0000 (01:21 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 17 Nov 2009 01:21:04 +0000 (01:21 +0000)
commita0a95a3c1cea79757854cf39ba07734b39e2b0e9
tree4582e5068e246ba2d567427ebc40a7afae470c47
parent2cbe71cdf0550b4d27b4d9e7d61a26d97ca6debe
When moving a block for table jumps, make sure the prior block terminator
is analyzable so it can be updated. If it's not, be safe and don't move the
block.

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