[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)
commit3b867c9c8e374e3fd754e79a34715450b6735e7e
tree5eba264fad0bae4050027b5fe95a4307b811118c
parente35dcb69b8c7c0d9f17c979d9397e81006a19166
[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.

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