[ARM] Make the assembler reject unpredictable pre/post-indexed ARM STRB instructions.
authorTilmann Scheller <t.scheller@samsung.com>
Wed, 23 Jul 2014 13:03:47 +0000 (13:03 +0000)
committerTilmann Scheller <t.scheller@samsung.com>
Wed, 23 Jul 2014 13:03:47 +0000 (13:03 +0000)
commit2727279117eac8671597fe457ac7ef3c5d82abe6
tree369c8107b58c562c8ed3983ad42788028002c938
parenta4d18fc60686ff0d9a138dce6b5ff6f650aa2cb0
[ARM] Make the assembler reject unpredictable pre/post-indexed ARM STRB instructions.

The ARM ARM prohibits STRB instructions with writeback into the source register. With this commit this constraint is now enforced and we stop assembling STRB instructions with unpredictable behavior.

llvm-svn: 213750
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/ARM/diagnostics.s