Make sure the alternate PC+imm syntax of LDR instruction with a small
authorKevin Enderby <enderby@apple.com>
Fri, 14 Dec 2012 23:04:25 +0000 (23:04 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 14 Dec 2012 23:04:25 +0000 (23:04 +0000)
commita827a47923700c16256036ca0bda8c0ff6108fdb
tree803f5867742dc1b3334802ebe66bd47df6158c62
parent07acee7a09c4895904f827bf56cf15f6bf8ef9f6
Make sure the alternate PC+imm syntax of LDR instruction with a small
immediate generates the narrow version.  Needed when doing round-trip
assemble/disassemble testing using the alternate syntax that specifies
'pc' directly.

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