Thumb assembly parsing and encoding for LDM instruction.
authorJim Grosbach <grosbach@apple.com>
Thu, 18 Aug 2011 21:50:53 +0000 (21:50 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 18 Aug 2011 21:50:53 +0000 (21:50 +0000)
commit93b3eff62322803a520e183fdc294bffd6d99bfa
tree4cd6de7ba49f9322993c3f4ca1c4f30c6fa27920
parentb48ef3a3ec7f527b0c76e7fbb37bbaac63b7c6aa
Thumb assembly parsing and encoding for LDM instruction.

Fix base register type and canonicallize to the "ldm" spelling rather than
"ldmia." Add diagnostics for incorrect writeback token and out-of-range
registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137986 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
test/CodeGen/Thumb2/thumb2-ldm.ll
test/MC/ARM/basic-thumb-instructions.s
test/MC/ARM/thumb-diagnostics.s
test/MC/Disassembler/ARM/thumb-tests.txt