Handle cases where the post-RA scheduler may move instructions between the
authorJim Grosbach <grosbach@apple.com>
Wed, 7 Jul 2010 22:51:22 +0000 (22:51 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 7 Jul 2010 22:51:22 +0000 (22:51 +0000)
commitc7937ae025194cb62ffcd592785c3ad97e7882ce
tree8953db7d58a1ea3e976ed22a188a379ee689a5f4
parentda3051a17f586b069951931eeed9317cad41243b
Handle cases where the post-RA scheduler may move instructions between the
address calculation instructions leading up to a jump table when we're trying
to convert them into a TB[H] instruction in Thumb2. This realistically
shouldn't happen much, if at all, for well formed inputs, but it's more correct
to handle it. rdar://7387682

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