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)
commit06aa3eb8cebb2878a862f30638f6279c40c1a719
tree30cf0acc019ebd18858cf86ac09e579901a2aafd
parent1fb2e7dfe1d42d302315d3684945f3af1600e00a
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.

llvm-svn: 170255
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/ARM/basic-thumb2-instructions.s