Handle an interesting corner case: the constpool_entry being reference is two
authorEvan Cheng <evan.cheng@apple.com>
Wed, 31 Jan 2007 23:35:18 +0000 (23:35 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 31 Jan 2007 23:35:18 +0000 (23:35 +0000)
commita2e35588c669a70fdc81426df8654fb4efc1d7f4
treebccd09bbf3ea79edd76057f2625a51ef8cf7677e
parent7588ad478aa95a7eb109034f0496f6d5a9769103
Handle an interesting corner case: the constpool_entry being reference is two
instructions away, i.e. its address is equal to PC.
        %r0 = tLDRpci <cp#0>
        bx
        CONSTPOOL_ENTRY 0 <cp#0>, 4

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