ARM assembly parsing for MOV (register).
authorJim Grosbach <grosbach@apple.com>
Tue, 19 Jul 2011 20:10:31 +0000 (20:10 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 19 Jul 2011 20:10:31 +0000 (20:10 +0000)
commit5f16057d1e4b711d492091bc555693a03d4a1b6e
tree036113f3c2ba0b00e6376b4b915aaae955737d6e
parent558b66d3cd536cfba11e295816a15ea6476fcd16
ARM assembly parsing for MOV (register).

Correct the handling of the 's' suffix when parsing ARM mode. It's only a
truly separate opcode in Thumb. Add test cases to make sure we handle
the s and condition suffices correctly, including diagnostics.

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