Thumb2 ldr pc-relative encoding fixes.
authorJim Grosbach <grosbach@apple.com>
Wed, 26 Oct 2011 22:22:01 +0000 (22:22 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 26 Oct 2011 22:22:01 +0000 (22:22 +0000)
commita581328ceb4c9db165d79a4dabd6b28db799d70f
tree0d78e3ea80da0be3bf543d6a147ea08877d90a5a
parent2a1286ed58bd02a5cffefbf25e45d9f6b61249c8
Thumb2 ldr pc-relative encoding fixes.

We were parsing label references to the i12 encoding, which isn't right.
They need to go to the pci variant instead.

More of rdar://10348687

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143068 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/basic-thumb2-instructions.s